RelationCompiler class

Compiles Prisma include/select into SQL JOINs.

Constructors

RelationCompiler({required SchemaRegistry schema, String provider = 'postgresql'})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compile({required String baseModel, required String baseAlias, required Map<String, dynamic> include, List<String>? baseSelectFields}) CompiledRelations
Compile include directive into JOIN clauses.
generateSelectColumns(Map<String, ColumnAlias> aliases) String
Generate SELECT columns with aliases.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited