mirror of https://github.com/AMT-Cheif/drift.git
Fixed typo. j doesn't exist. The variable is p.
The path library has been imported as p not j.
This commit is contained in:
parent
e29fcf93f7
commit
51283c8f3c
|
@ -65,7 +65,7 @@ import 'package:path/path.dart' as p;
|
||||||
|
|
||||||
LazyDatabase(() async {
|
LazyDatabase(() async {
|
||||||
final dbFolder = await getDatabasesPath();
|
final dbFolder = await getDatabasesPath();
|
||||||
final file = File(j.join(dbFolder, 'db.sqlite'));
|
final file = File(p.join(dbFolder, 'db.sqlite'));
|
||||||
return VmDatabase(file);
|
return VmDatabase(file);
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
@ -163,4 +163,4 @@ Future<List<Coordinate>> findNearby(Coordinate center, int radius) {
|
||||||
```
|
```
|
||||||
|
|
||||||
Aller the other functions are available under a similar name (`sqlSin`, `sqlCos`, `sqlAtan` and so on).
|
Aller the other functions are available under a similar name (`sqlSin`, `sqlCos`, `sqlAtan` and so on).
|
||||||
They have that `sql` prefix to avoid clashes with `dart:math`.
|
They have that `sql` prefix to avoid clashes with `dart:math`.
|
||||||
|
|
Loading…
Reference in New Issue