Constructors
-
CollectionCompanion({Value<String> id = const Value.absent(), Value<DateTime> created = const Value.absent(), Value<DateTime> updated = const Value.absent(), Value<CollectionType> type = const Value.absent(), Value<String> name = const Value.absent(), Value<bool> system = const Value.absent(), Value<String?> listRule = const Value.absent(), Value<String?> viewRule = const Value.absent(), Value<String?> createRule = const Value.absent(), Value<String?> updateRule = const Value.absent(), Value<String?> deleteRule = const Value.absent(), )
-
const
-
CollectionCompanion.insert({required String id, required DateTime created, required DateTime updated, required CollectionType type, required String name, required bool system, Value<String?> listRule = const Value.absent(), Value<String?> viewRule = const Value.absent(), Value<String?> createRule = const Value.absent(), Value<String?> updateRule = const Value.absent(), Value<String?> deleteRule = const Value.absent(), )
-
Methods
-
copyWith({Value<String>? id, Value<DateTime>? created, Value<DateTime>? updated, Value<CollectionType>? type, Value<String>? name, Value<bool>? system, Value<String?>? listRule, Value<String?>? viewRule, Value<String?>? createRule, Value<String?>? updateRule, Value<String?>? deleteRule, )
→ CollectionCompanion
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a non-existent method or property is accessed.
inherited
-
toColumns(bool nullToAbsent)
→ Map<String, Expression<Object>>
-
Converts this object into a map of column names to expressions to insert
or update.
override
-
toString()
→ String
-
A string representation of this object.
override
Static Methods
-
custom({Expression<String>? id, Expression<DateTime>? created, Expression<DateTime>? updated, Expression<String>? type, Expression<String>? name, Expression<bool>? system, Expression<String>? listRule, Expression<String>? viewRule, Expression<String>? createRule, Expression<String>? updateRule, Expression<String>? deleteRule, )
→ Insertable<CollectionData>
-