ComplexLookup class
Defines the structure of a complex lookup
For Lookup documentation see DBObject.get and QueryBuilder.lookup.
Constructors
- ComplexLookup({required String name, required String modelName, required String query})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- modelName ↔ String
-
The name of the target model which will be joined with the current model
getter/setter pair
- name ↔ String
-
The name of the lookup. This will become a field of the retrieved object
which will hold the looked up value. The specified name needs to be
unique among the fields of the model.
getter/setter pair
- query ↔ String
-
The query expression that will be used in joining the models
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Lookup abstraction.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited