angel_orm_generator library

Classes

ColumnReader
MigrationGenerator
OrmBuildContext
OrmGenerator
Builder that generates .orm.g.dart, with an abstract FooOrm class.
RelationFieldImpl
RelationshipReader

Constants

columnTypeChecker → const TypeChecker
const TypeChecker.fromRuntime(Column)
relationshipTypeChecker → const TypeChecker
const TypeChecker.fromRuntime(Relationship)

Properties

floatTypes ↔ List<ColumnType>
read / write

Functions

buildOrmContext(ClassElement clazz, ConstantReader annotation, BuildStep buildStep, Resolver resolver, bool autoSnakeCaseNames, { bool heedExclude: true }) → Future<OrmBuildContext>
findPrimaryFieldInList(OrmBuildContext ctx, Iterable<FieldElement> fields) FieldElement
firstModelAncestor(DartType type) InterfaceType
futureOf(String type) TypeReference
inferColumnType(DartType type) ColumnType
isHasRelation(Relationship r) → bool
isSpecialId(OrmBuildContext ctx, FieldElement field) → bool
migrationBuilder(BuilderOptions options) Builder
ormBuilder(BuilderOptions options) Builder
reviveColumn(ConstantReader cr) Column
reviveORMAnnotation(ConstantReader reader) Orm