Simon Binder
|
87c50de1e1
|
Add LazyDatabase wrapper to create a database async
|
2019-09-20 20:23:35 +02:00 |
Simon Binder
|
5b6bd1db37
|
Fix some queries with Dart templates not compiling
|
2019-09-15 10:51:35 +02:00 |
Simon Binder
|
928c9832b5
|
Move ffi bindings into new moor_ffi package
|
2019-09-14 20:54:13 +02:00 |
Simon Binder
|
9e498fb575
|
Merge branch 'ffi' into develop
# Conflicts:
# moor/lib/src/runtime/executor/helpers/engines.dart
|
2019-09-14 19:23:37 +02:00 |
Simon Binder
|
349b245089
|
Write implementation for Dart placeholders
|
2019-09-14 16:42:24 +02:00 |
Simon Binder
|
f7ade2b7b6
|
Explain why we have more than one primaryKey override
|
2019-09-13 21:25:14 +02:00 |
Simon Binder
|
456392333d
|
Remove InsertStatement.insertOrReplace
|
2019-09-13 21:12:51 +02:00 |
Simon Binder
|
138652fdc4
|
Remove DiffUtil and MoorAnimatedList
|
2019-09-13 21:06:11 +02:00 |
Simon Binder
|
c8ae99b52e
|
Breaking changes for the upcoming version
1. Removes transaction parameter in callbacks, custom queries
2. Removes MigrationStrategy.onFinished
|
2019-09-13 21:04:15 +02:00 |
Simon Binder
|
1130101f1f
|
Support writing string literals from Constant<String>
Fixes #137
|
2019-09-06 22:37:15 +02:00 |
Simon Binder
|
b87a606fb8
|
Merge branch 'master' into develop
|
2019-09-05 10:35:07 +02:00 |
Simon Binder
|
81986d2010
|
Remove debug logs used to fix the opening problem
|
2019-09-04 22:11:48 +02:00 |
Simon Binder
|
a17ad13542
|
Report more errors when database is opened
|
2019-09-04 21:20:09 +02:00 |
Simon Binder
|
3c56e0ad6e
|
Fix race condition in database opening
|
2019-09-04 18:38:55 +02:00 |
Simon Binder
|
1bbc26767e
|
Assert that the database is not opened multiple times.
|
2019-09-04 16:13:37 +02:00 |
Simon Binder
|
0ef56d6163
|
Use doWhenOpened for custom updates and inserts
|
2019-08-30 09:16:55 +02:00 |
Simon Binder
|
a4b256f8a5
|
Support custom insert statements at runtime
|
2019-08-29 15:52:29 +02:00 |
Simon Binder
|
03a35ae9cd
|
Port ffi example to updated structs / pointer api
|
2019-08-28 16:57:25 +02:00 |
Simon Binder
|
b1e215b8d3
|
Merge branch 'develop' into ffi
|
2019-08-28 15:36:10 +02:00 |
Simon Binder
|
0860b6645a
|
Generate selectable for custom queries
This makes is easier to use getSingle() and watchSingle()
on them.
Fixes #120
|
2019-08-27 18:44:34 +02:00 |
Simon Binder
|
ca76746000
|
Better explain how `getSingle` and `watchSingle` works.
|
2019-08-24 18:03:53 +02:00 |
Simon Binder
|
89f3987e6b
|
Fix generation of PRIMARY KEY constraint on int column
|
2019-08-23 23:07:31 +02:00 |
Simon Binder
|
397d3f2383
|
Support absent values on INTEGER PRIMARY KEY
|
2019-08-23 22:50:15 +02:00 |
Simon Binder
|
17aabbe446
|
Ensure BoolType maps null values correctly
Fixes #106
|
2019-08-19 16:16:34 +02:00 |
Simon Binder
|
b26baddd01
|
Fix some docs, make isOpen lookup faster
|
2019-08-17 18:25:56 +02:00 |
Simon Binder
|
8b28c957b8
|
Merge branch 'develop' into ffi
|
2019-08-16 15:20:41 +02:00 |
Simon Binder
|
7d89f12aa7
|
Use explicit indices for array parameters
|
2019-08-15 21:26:27 +02:00 |
Simon Binder
|
cd67773157
|
Document how using named() will not affect generated json
|
2019-08-13 09:11:03 +02:00 |
Simon Binder
|
b58c200b21
|
Merge branch 'develop' into ffi
|
2019-08-08 19:22:54 +02:00 |
Simon Binder
|
aa6fea6caa
|
Fix wrong double primary key on generated tables
|
2019-08-01 20:14:42 +02:00 |
Simon Binder
|
70033b0bde
|
Merge branch 'develop' into ffi
# Conflicts:
# moor/lib/src/runtime/database.dart
# moor/lib/src/runtime/executor/executor.dart
|
2019-07-31 20:49:15 +02:00 |
Simon Binder
|
a4bfda494d
|
Add integration tests for transactions
Also fixes some bugs on the way
|
2019-07-31 20:47:58 +02:00 |
Simon Binder
|
b1820ef5aa
|
Generate code to match default values for CREATE TABLE
|
2019-07-30 10:30:06 +02:00 |
Simon Binder
|
aa3706ae9d
|
Support table constraints in CREATE TABLE
|
2019-07-30 10:13:47 +02:00 |
Simon Binder
|
b48970d9ef
|
Fixes related to the new dialects feature
|
2019-07-29 15:46:00 +02:00 |
Simon Binder
|
634b1adb72
|
Support includes on the @UseDao annotation as well
|
2019-07-29 15:19:58 +02:00 |
Simon Binder
|
e0a82b0e32
|
Finally generate table classes from sql
|
2019-07-29 14:22:39 +02:00 |
Simon Binder
|
7a9cafb02f
|
Deprecate diff utils, MoorAnimatedList
|
2019-07-28 14:45:36 +02:00 |
Simon Binder
|
7f79fd922b
|
Provide information about the sql dialect at runtime
|
2019-07-28 14:21:39 +02:00 |
Simon Binder
|
21956a6b48
|
Use variables instead of failing to write string literals
Fixes #88
|
2019-07-26 09:25:55 +02:00 |
Simon Binder
|
4bf58cb83b
|
API to close databases, integration test that saves data
|
2019-07-25 17:04:32 +02:00 |
Simon Binder
|
fdbffa47fc
|
Integration tests for the web backend
|
2019-07-24 23:32:45 +02:00 |
Simon Binder
|
05b84a21ef
|
Merge branch 'develop' into ffi
|
2019-07-24 22:14:46 +02:00 |
Simon Binder
|
a7395ba83d
|
Write integration tests, sort of run them in Flutter
|
2019-07-24 22:14:02 +02:00 |
Simon Binder
|
5f8ab42189
|
Start to work on MySQL example
|
2019-07-23 22:16:21 +02:00 |
Simon Binder
|
5b7ffb3dbf
|
Merge branch 'develop' into ffi
|
2019-07-23 09:36:11 +02:00 |
Simon Binder
|
b3d381afe6
|
Rollback transactions when callback throws
Closes #83
|
2019-07-23 09:06:02 +02:00 |
Simon Binder
|
147499c1f7
|
Ability to rollback transactions
|
2019-07-23 08:49:51 +02:00 |
Simon Binder
|
e36fe84480
|
Merge branch 'develop' into ffi
# Conflicts:
# moor/lib/src/runtime/executor/helpers/engines.dart
# moor/lib/src/web/web_db.dart
|
2019-07-22 13:06:24 +02:00 |
Simon Binder
|
2ee548e5d8
|
Implement the web database with the new backends api
|
2019-07-22 12:47:18 +02:00 |