Module molly.db

Module with default DB implementation.

Allows Molly to set up and tear down databases.

Functions

new () Function that returns a default db implementation.


Functions

new ()
Function that returns a default db implementation. Molly db must implement following methods:

  • setup - function that set up a database instance
  • teardown - function that tear down a database instance

Default implementation of a DB defines setup and teardown methods with empty implementation that always returns true.

Returns:

    db
generated by LDoc 1.4.2