$$TilesTableProcessedTableManager class
Methods
-
count({bool distinct = true})
→ Future<int>
-
Return the count of rows matched by the built statement
When counting rows, the query will only count distinct rows by default
inherited
-
delete()
→ Future<int>
-
Deletes all rows matched by built statement
inherited
-
exists()
→ Future<bool>
-
Checks whether any rows exist
inherited
-
filter(ComposableFilter f($$TilesTableFilterComposer f))
→ $$TilesTableProcessedTableManager
-
Add a filter to the statement
inherited
-
get({bool distinct = false, int? limit, int? offset})
→ Future<List<Tile>>
-
Executes the statement and returns all rows as a list.
inherited
-
getSingle()
→ Future<Tile>
-
Executes this statement, like
get, but only returns one
value. If the query returns no or too many rows, the returned future will
complete with an error.
inherited
-
getSingleOrNull()
→ Future<Tile?>
-
Executes this statement, like
get, but only returns one
value. If the result too many values, this method will throw. If no
row is returned, null will be returned instead.
inherited
-
limit(int limit, {int? offset})
→ $$TilesTableProcessedTableManager
-
Add a limit to the statement
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
orderBy(ComposableOrdering o($$TilesTableOrderingComposer o))
→ $$TilesTableProcessedTableManager
-
Add ordering to the statement
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
update(Insertable<Tile> f($$TilesTableUpdateCompanionBuilder o))
→ Future<int>
-
Writes all non-null fields from the entity into the columns of all rows
that match the
filter clause. Warning: That also means that, when you're
not setting a where clause explicitly, this method will update all rows in
the $state.table.
inherited
-
watch({bool distinct = false, int? limit, int? offset})
→ Stream<List<Tile>>
-
Creates an auto-updating stream of the result that emits new items
whenever any table used in this statement changes.
inherited
-
watchSingle()
→ Stream<Tile>
-
Creates an auto-updating stream of this statement, similar to
watch. However, it is assumed that the query will only emit
one result, so instead of returning a Stream<List<D>>, this returns a
Stream<D>. If, at any point, the query emits no or more than one rows,
an error will be added to the stream instead.
inherited
-
watchSingleOrNull()
→ Stream<Tile?>
-
Creates an auto-updating stream of this statement, similar to
watch. However, it is assumed that the query will only
emit one result, so instead of returning a Stream<List<D>>, this
returns a Stream<D?>. If the query emits more than one row at
some point, an error will be emitted to the stream instead.
If the query emits zero rows at some point, null will be added
to the stream instead.
inherited