miniorm 0.0.10

A minimalistic ORM for SQLite

To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

Mini ORM for SQLite3

Build Status

This is a simple ORM layer for d2sqlite3.

The architecture separate the database from the SQL tree construction. This is to make it possible to use as an ORM layer for other type of databases in the future.


Very simple ORM with single backend (SQLite3).

    auto db = Miniorm("test.db");;!Foo.where("ts <", Clock.currTime));!Foo, Foo(0, "hello", Clock.currTime), Foo(20, "world", Clock.currTime));!Foo, Foo(0, "hello", Clock.currTime), Foo(0, "world", Clock.currTime));

    import std.random : uniform;!Bar, Bar(0, uniform(0, 10), Baz("one", 3.14)));!Foo, Foo(1, "hello", Clock.currTime), Foo(3, "world", Clock.currTime));

See example/source/app.d


Oleg Butko (deviator) for writing and publishing MicroORM which MiniORM is based on. Without MicroORM this library would not have seen the light of day.

  • Joakim Brännström
d2sqlite3, unit-threaded
0.0.10 2024-Feb-22
0.0.9 2023-Oct-18
0.0.7 2023-Feb-12
0.0.6 2022-May-30
0.0.5 2021-Sep-07
Show all 11 versions
Download Stats:
  • 0 downloads today

  • 2 downloads this week

  • 5 downloads this month

  • 264 downloads total

Short URL: