microrm 0.3.0

Micro ORM for SQLite3

To use this package, put the following dependency into your project's dependencies section:


Micro ORM for SQLite3

Very simple ORM with single backend (SQLite3).

This methods returns struct instances

auto qSelect(T)(ref Database db);
auto qDelete(T)(ref Database db);
auto qCount(T)(ref Database db);

They structs have methods

ref Self where(V)(string field, V val);
ref Self whereQ(string field, string cmd);
ref Self and(V)(string field, V val);
ref Self andQ(string field, string cmd)

there Self is type of structure, and method

auto run() @property;

for each own types.

This method execute immediately

auto qInsert(T)(ref Database db, T[] arr...);

See example/source/app.d

Authors:Oleg Butko (deviator)


0.3.0 2017-Aug-07
0.2.0 2017-Aug-07
0.1.0 2017-Jun-14
~master 2017-Aug-07
Show all 4 versions
  • 0 downloads today

  • 1 downloads this week

  • 3 downloads this month

  • 5 downloads total