orm library

Classes

Column
Table column annotation
DateTimeUtil
Helper class to provide utility for DateTime class.
IdGenerator<T>
An interface that provide method to generate an id value.
PredefinedDefaultValue
Class helper for sql engine library to provide the of predefined value.
SQLDataType
SQL data type.
SQLDefaultValueValue<T, D>
An interface that provide method to convert custom object into compatible data type.
SQLTableAdditionalDefinition
Database engine that required or wanted to have additional definition or declaration when create the table can provide the implemented of this class.
Table
Table annotation use on mixin to identify

Extensions

ListPredefinedDefaultValue on Iterable<PredefinedDefaultValue>
helper to encode list of PredefinedDefaultValue into multiple line of string where each line represent individual PredefinedDefaultValue value.

Functions

snakeCapitalCaseConversion(String name, [bool toSQL = true]) String
default naming conversion function

Typedefs

DBEngineDataType<T> = String Function(T)
a function callback to return specific string declaration of each engine.
NameConversion = String Function(String, [bool toSQL])
Naming conversion between Dart and SQL name.