FoundDartPlaceholder class Null safety

A Dart placeholder that will be bound to a dynamically-generated SQL node at runtime.

Moor supports injecting expressions, order by terms and clauses and limit clauses as placeholders. For insert statements, companions can be used as a Dart placeholder too.

Inheritance

Constructors

FoundDartPlaceholder(DartPlaceholderType type, String name, List<AvailableMoorResultSet> availableResultSets)

Properties

astNode DartPlaceholder?
read / write
availableResultSets List<AvailableMoorResultSet>
All result sets that are available for this Dart placeholder.
final
dartParameterName String
read-only, override
hasDefault bool
read-only
hashCode int
The hash code for this object.
read-only, override
hasSqlName bool
read-only, inherited
hidden bool
If the element should be hidden from the parameter list
read-only, inherited
name String
The name of this element as declared in the query
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type DartPlaceholderType
final

Methods

dartTypeCode([GenerationOptions options = const GenerationOptions()]) String
Dart code for a type representing tis element.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
writeAsScopedFunction(MoorOptions options) bool
Whether we should write this parameter as a function having available result sets as parameters.

Operators

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