Simon Binder
e46a8d84d5
Fix failing transaction test
...
Not completing is excepted behavior now
2019-07-23 09:13:31 +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
Simon Binder
56f8e447bd
Migrate VM database to use the new delegate api
2019-07-22 12:11:38 +02:00
Simon Binder
2500e5ff20
Merge branch 'develop' into ffi
...
# Conflicts:
# moor_flutter/lib/moor_flutter.dart
2019-07-22 11:32:07 +02:00
Simon Binder
48f87330d6
New API to create custom backends easier
...
Also ported the Flutter backend to that API
2019-07-22 11:30:39 +02:00
Simon Binder
6acc81c88b
Merge branch 'master' into develop
...
# Conflicts:
# moor_generator/lib/src/parser/table_parser.dart
2019-07-20 23:25:18 +02:00
Simon Binder
c88a5d87e3
Actually support analyzer 0.37 in moor_generator
2019-07-20 23:17:11 +02:00
Simon Binder
1b4df63694
Actually support analyzer 0.37 in moor_generator
2019-07-20 23:10:58 +02:00
Simon Binder
4b9cd084b5
VM: transactions and before open callback
2019-07-20 22:55:27 +02:00
Simon Binder
eb0edb8ac0
Merge branch 'develop' into ffi
2019-07-20 22:32:53 +02:00
Simon Binder
37cba6971c
Attempt to fix coverage collection
2019-07-20 22:15:52 +02:00
Simon Binder
7229002383
Integration test for the Dart VM
2019-07-20 20:50:09 +02:00
Simon Binder
e9cba8d600
Type fixes for ffi
2019-07-20 19:30:47 +02:00
Simon Binder
e00f7bfa29
Use our own sqlite api instead of Dart example
2019-07-20 17:20:47 +02:00
Simon Binder
5dde293015
Start with primitive VM implementation
2019-07-20 11:56:56 +02:00
Simon Binder
e7fd94e9db
Copy-paste ffi sqlite library from putraxor/sqlite3_ffi
2019-07-20 11:00:51 +02:00
Simon Binder
35e6ed67df
Use new GeneratorSession for the writer
2019-07-20 10:18:41 +02:00
Simon Binder
b1376b345e
Fix another inconsistency in the docs
2019-07-18 20:59:00 +02:00
Simon Binder
e6cf035ad2
Put dao parser in own file
2019-07-18 20:27:07 +02:00
Simon Binder
001de4dc79
Extract logic out of moor generator in some smaller files
2019-07-18 18:17:58 +02:00
Simon Binder
c5e9e8cfc8
Start generator refactoring
...
Remove global shared state in favor of sessions that are only valid for a single build step.
2019-07-18 18:01:27 +02:00
Simon Binder
33f1732ad1
Update schema test to reflect custom column
2019-07-18 12:56:48 +02:00
Simon Binder
ff93af231c
Write correct mapping code for custom objects
2019-07-18 12:53:26 +02:00
Simon Binder
bf4d16add6
Write verification and to-sql mapping for custom columns
2019-07-18 12:21:10 +02:00
Simon Binder
c2bff3ae42
API and parser for custom types
2019-07-18 12:02:16 +02:00
Simon Binder
dcc7f29492
Start to write a simple CONTRIBUTING file
2019-07-13 12:07:21 +02:00
Simon Binder
f108090f7b
Release version 1.6
2019-07-13 10:50:53 +02:00
Simon Binder
364570b0dc
More tests to verify behavior of cached streams
2019-07-12 21:23:28 +02:00
Simon Binder
3407c8e90e
Fix old stream references not emitting data
2019-07-12 20:50:09 +02:00
Simon Binder
f21021a6e9
Final preparations for the 1.6 release
...
Short summary of updates
- web support
- using zones to resolve the current transaction
- comparable date time values
- collate expressions
- many bug fixes
2019-07-12 10:52:42 +02:00
Simon Binder
be371a3005
Remove outdated warning about transactions in docs
2019-07-12 10:38:00 +02:00
Simon Binder
f092400930
Do what random SEO websites tell me to do
2019-07-11 22:45:57 +02:00
Simon Binder
f0e5ed9a87
Make tables implement equals and hashCode
...
Fixes #74
2019-07-11 22:02:46 +02:00
Simon Binder
256b91f03f
Emit cached data in a later microtask
2019-07-11 21:09:13 +02:00
Simon Binder
0e7ee6114b
Avoid writing duplicate mapping methods
2019-07-10 19:37:15 +02:00
Simon Binder
853e3acb4c
Migrate web example to moor 1.6
2019-07-10 19:22:55 +02:00
Simon Binder
91c455d077
Fix (and then, use) the binary encoding to persist data
2019-07-10 19:14:55 +02:00
Simon Binder
02a8dabd63
Fix crash when variables appear more than once
2019-07-10 18:25:18 +02:00
Simon Binder
df05e643e0
Migrate example to 1.6, update readme
2019-07-10 17:55:57 +02:00
Simon Binder
d01b5c750f
Fix order in limit expressions with comma
...
Fixes #73
2019-07-10 17:29:03 +02:00
Simon Binder
6c70c947a1
Make the moor test script executable
2019-07-10 17:29:03 +02:00
Simon Binder
a96da09741
Merge pull request #70 from knaeckeKami/master
...
use .toString() instead of casting to String in StringType
2019-07-09 13:31:48 +02:00
Martin Kamleithner
0137b34d07
allow nullability in StringType
2019-07-09 13:23:28 +02:00
Martin Kamleithner
e7f37f5e93
use .toString() instead of casting to String in StringType
2019-07-09 12:51:37 +02:00
Simon Binder
aeb9b6ba41
Parse COLLATE expressions in the sql parser
...
For #67
2019-07-08 23:03:03 +02:00
Simon Binder
3f8fb97b6c
Provide Dart api for COLLATE expressions
...
For #67
2019-07-08 22:37:13 +02:00
Simon Binder
809f239ca3
Generate code for array variables in compiled statements
2019-07-07 16:04:55 +02:00