miniorm.api

Members

Classes

SpinSqlTimeout
class SpinSqlTimeout
Undocumented in source.

Enums

AggregateInsert
enum AggregateInsert

Wheter one aggregated insert or multiple should be generated.

Functions

fromSqLiteDateTime
SysTime fromSqLiteDateTime(string raw_dt)
Undocumented in source. Be warned that the author may not have intended to support it.
spinSql
auto spinSql(Duration timeout, Duration minTime, Duration maxTime, string file, size_t line)

Execute an SQL query until it succeeds.

spinSql
auto spinSql(string file, size_t line)
Undocumented in source. Be warned that the author may not have intended to support it.
toSqliteDateTime
string toSqliteDateTime(SysTime ts_)

To ensure a consistency the time is always converted to UTC.

Structs

Miniorm
struct Miniorm
RefCntStatement
struct RefCntStatement

A prepared statement is lent to the user. The refcnt takes care of resetting the statement when the user is done with it.

ResultRange2
struct ResultRange2(T)
Undocumented in source.
Transaction
struct Transaction

RAII handling of a transaction.

Meta

License

MIT

Authors

Joakim Brännström (joakim.brannstrom@gmx.com) Oleg Butko (deviator)