angel3_orm library
Classes
- BelongsTo
- BooleanSqlExpressionBuilder
- Column
- Applies additional attributes to a database column.
- ColumnType
- Maps to SQL data types.
- DateTimeSqlExpressionBuilder
- Dialect
-
EnumSqlExpressionBuilder<
T> - HasMany
- HasOne
- JoinBuilder
-
Builds a SQL
JOIN
query. - JoinOn
-
JsonSqlExpressionBuilder<
T, K> - JsonSqlExpressionBuilderProperty
- ListSqlExpressionBuilder
- ManyToMany
- MapQueryValues
- A QueryValues implementation that simply writes to a Map.
- MapSqlExpressionBuilder
- MySQLDialect
-
NumericSqlExpressionBuilder<
T extends num> - OrderBy
- Orm
- PostgreSQLDialect
- PrimaryKey
-
Query<
T, Where extends QueryWhere> -
A SQL
SELECT
query builder. -
QueryBase<
T> - A base class for objects that compile to SQL queries, typically within an ORM.
- QueryExecutor
- An abstract interface that performs queries.
- QueryValues
- QueryWhere
-
Builds a SQL
WHERE
clause. - RawSql
-
Can passed to a
MigrationColumn
to default to a raw SQL expression. - Relationship
- RelationshipType
-
SqlExpressionBuilder<
T> - StringSqlExpressionBuilder
-
Union<
T> -
Represents the
UNION
of two subqueries.
Constants
- belongsTo → const BelongsTo
- currentTimestamp → const RawSql
- A raw SQL statement that specifies a date/time default to the current time.
- hasMany → const HasMany
- hasOne → const HasOne
- orm → const Orm
-
Canonical instance of
ORM
. Implies all defaults. - primaryKey → const Column
-
sqlReservedWords
→ const List<
String>
Properties
- dateYmd → DateFormat
-
final
- dateYmdHms → DateFormat
-
final
- defaultDate → DateTime
-
final
Functions
-
isAscii(
int ch) → bool -
mapToBool(
dynamic value) → bool -
mapToDateTime(
dynamic value) → DateTime - Helper method to convert dynamic value to DateTime. If null return January 1st, 1970 at 00:00:00 UTC as default
-
mapToDouble(
dynamic value) → double -
mapToNullableDateTime(
dynamic value) → DateTime? - Helper method to convert dynamic value to nullable DateTime
-
mapToText(
dynamic value) → String