mirror of https://github.com/AMT-Cheif/drift.git
Fix case in imports
This commit is contained in:
parent
48331ab353
commit
4f96c255ee
|
@ -10,7 +10,7 @@ aliases:
|
||||||
Moor supports sql joins to write queries that operate on more than one table. To use that feature, start
|
Moor supports sql joins to write queries that operate on more than one table. To use that feature, start
|
||||||
a select regular select statement with `select(table)` and then add a list of joins using `.join()`. For
|
a select regular select statement with `select(table)` and then add a list of joins using `.join()`. For
|
||||||
inner and left outer joins, a `ON` expression needs to be specified. Here's an example using the tables
|
inner and left outer joins, a `ON` expression needs to be specified. Here's an example using the tables
|
||||||
defined in the [example]({{< relref "../Getting Started/_index.md" >}}).
|
defined in the [example]({{< relref "../Getting started/_index.md" >}}).
|
||||||
|
|
||||||
```dart
|
```dart
|
||||||
// we define a data class to contain both a todo entry and the associated category
|
// we define a data class to contain both a todo entry and the associated category
|
||||||
|
|
|
@ -40,7 +40,7 @@ moor will figure out an appropriate type for them and include them in the genera
|
||||||
`'categoryById': 'SELECT * FROM categories WHERE id = :id'` will generate the method `categoryById(int id)`.
|
`'categoryById': 'SELECT * FROM categories WHERE id = :id'` will generate the method `categoryById(int id)`.
|
||||||
|
|
||||||
You can also use `UPDATE` or `DELETE` statements here. Of course, this feature is also available for
|
You can also use `UPDATE` or `DELETE` statements here. Of course, this feature is also available for
|
||||||
[daos]({{< relref "../Advanced features/daos.md" >}}),
|
[daos]({{< relref "../Advanced Features/daos.md" >}}),
|
||||||
and it perfectly integrates with auto-updating streams by analyzing what tables you're reading from or
|
and it perfectly integrates with auto-updating streams by analyzing what tables you're reading from or
|
||||||
writing to.
|
writing to.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue