MemoryDriver

An in-memory database, useful for unit-testing. This memory does not need special cleanup.

Note that this database is not optimised for high performance, it should only be used for small amounts of data.

Members

Functions

close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
find
Optional!Entity find(PrimaryKeyType!Entity id)
Undocumented in source. Be warned that the author may not have intended to support it.
findAll
Entity[] findAll()
Undocumented in source. Be warned that the author may not have intended to support it.
remove
void remove(PrimaryKeyType!Entity id)
Undocumented in source. Be warned that the author may not have intended to support it.
save
Entity save(Entity entity)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta