Commit Graph

755 Commits

Author SHA1 Message Date
Simon Binder 71ef36ff83
Explain how to install sqlite for moor_ffi unit tests 2019-10-28 20:42:02 +01:00
Simon Binder 0667191f14
Docs: Only use production environment var on production 2019-10-27 17:00:31 +01:00
Simon Binder ceed461a06
Update documentation on migrations 2019-10-27 16:52:46 +01:00
Simon Binder a304d13927
Use enforceHasSpan on all parse results in tests 2019-10-27 11:51:09 +01:00
Simon Binder 591e1b2bff
Support WITH clause for inner select statements 2019-10-27 10:47:21 +01:00
Simon Binder bf1e174ca3
Formally support analyzer 0.40.0
It looks like we don't use any of the removed APIs, but that's hard to verify because most of our dependencies don't support analyzer 0.40.0 yet.
2019-10-27 10:46:29 +01:00
Simon Binder 9372178204
INSERT INTO SELECT: Support with clause 2019-10-25 23:18:21 +02:00
Simon Binder 603f9c0eb5
Update gitter links to new room 2019-10-25 16:22:12 +02:00
Simon Binder d43a23eb88
Don't crash when a table wasn't resolved 2019-10-24 22:26:27 +02:00
Simon Binder 169d6aba48
Refactor: Split select.dart into smaller files 2019-10-24 22:06:15 +02:00
Simon Binder 549a90893e
Refactor: Extract DDL into mini-library 2019-10-24 22:01:57 +02:00
Simon Binder 77c54294ea
Refactor: Extract type mapping code into mini library 2019-10-24 21:57:31 +02:00
Simon Binder e8b4f8347c
Refactor: Put all query gen code into one compilation unit 2019-10-24 21:54:36 +02:00
Simon Binder cf671ac56b
Expand documentation, support DISTINCT selects (#205) 2019-10-24 21:12:31 +02:00
Simon Binder 45a8d8fbb3
IDE: Add navigation support for more types of columns 2019-10-24 20:41:58 +02:00
Simon Binder b8af08919a
Handle recursive CTEs in analyzer 2019-10-23 18:03:24 +02:00
Simon Binder d55e1de66d
Handle common table expressions in the analyzer 2019-10-23 17:07:44 +02:00
Simon Binder 29a7b4853d
Parse common table expressions (no analysis yet) 2019-10-21 22:10:19 +02:00
Simon Binder ccf208b329
Support additional insert modes 2019-10-21 17:14:58 +02:00
Simon Binder 82477d9325
Escape name when writing bool constraint (#201) 2019-10-21 16:34:15 +02:00
Simon Binder 71247bd692
Release moor 2.0.1+1: Fix for customStatement on open 2019-10-20 21:10:23 +02:00
Simon Binder bf94057d1b
Call doWhenOpened for customStatement (#199) 2019-10-20 21:07:06 +02:00
Simon Binder 34c9908552
Write basic guide on unit testing with moor 2019-10-20 13:45:54 +02:00
Simon Binder 1f8dfbe887
Call doWhenOpened for customStatement (#199) 2019-10-20 11:39:24 +02:00
Simon Binder 8a8b811643
Fix more sqlparser crashes in the resolver 2019-10-20 11:28:05 +02:00
Simon Binder a69f469444
Support sqlite_master, sqlite_sequence tables (#197) 2019-10-19 16:56:36 +02:00
Simon Binder fd27c878d4
Fix errors in sqlparser that were swallowed before 2019-10-19 16:41:30 +02:00
Simon Binder d8226aeb23
Handle aliases references to rowid (#197) 2019-10-19 16:09:44 +02:00
Simon Binder 0c2362a625
Scaffold layout for multi-isolate implementation 2019-10-19 14:27:15 +02:00
Simon Binder 263004fe7b
Option to use the column name as json key in moor files
Closes #176
2019-10-17 21:44:20 +02:00
Simon Binder aabf565479
Migrate moor_ffi to Dart 2.6 2019-10-17 19:00:51 +02:00
Simon Binder 95f37575f8
Optionally use data class name for companions
Closes #185
2019-10-16 21:33:13 +02:00
Simon Binder d00336a1d2
Don't use Pointer.allocate and Pointer.free
Both methods will be removed in Dart 2.6
2019-10-15 19:23:04 +02:00
Simon Binder 4c090af98c
Ability to override json keys in moor files (#176) 2019-10-14 19:59:52 +02:00
Simon Binder 438f979ed1
Use a mixin for auto increment columns in test file 2019-10-11 22:12:28 +02:00
Simon Binder ff7d587339
Add real-world example for table inheritance to test 2019-10-11 22:03:32 +02:00
Simon Binder 0b9d4c897b
Properly handle overridden elements when parsing columns 2019-10-11 18:00:17 +02:00
Simon Binder 337e260667
Support inheritance in table definitions (#169) 2019-10-11 17:43:48 +02:00
Simon Binder 77fcf7a7ba
Release moor and moor_generator 2.0.1, sqlparser 0.3.0+1 2019-10-11 17:24:04 +02:00
Simon Binder 24c4e5c7d4
Don't run analyzer tests on the CI 2019-10-11 16:42:08 +02:00
Simon Binder 5ae3d7c2af
Prepare pubspec and changelog for 2.0.1 release 2019-10-11 13:17:50 +02:00
Simon Binder fb85ac80cb
Run builder on integration tests, support analyzer 0.38 2019-10-10 17:30:22 +02:00
Simon Binder e66eaa6127
Merge pull request #181 from minia68/master
Make transaction return a value
2019-10-10 17:06:05 +02:00
Ryzhkov Sergey c0d75f1654 make transaction return value 2019-10-10 16:52:09 +03:00
Simon Binder 47f8dbb90d
Make streams emit cached data for multiple listeners
Fixes #178
2019-10-09 22:39:19 +02:00
Simon Binder 720ca43cc4
Re-run build on flutter example app 2019-10-09 21:28:36 +02:00
Simon Binder aef8e15d61
Merge remote-tracking branch 'origin/master' into develop
# Conflicts:
#	moor_generator/CHANGELOG.md
2019-10-09 20:32:25 +02:00
Simon Binder 5510a90583
Fix warnings (2.6-dev SDK), escape \r, constant workaround 2019-10-09 19:48:52 +02:00
Simon Binder c329c409d6
Merge pull request #177 from michaelspiss/patch-1
Fix version solving fail for extras/encryption
2019-10-07 22:39:53 +02:00
Michael Spiss d96887b4e9
Fix version solving fail for extras/encryption
Version solving fails with the newest release of moor (2.0.0). This only updates the moor version in pubspec.yaml as the mirrored moor_flutter.dart has not changed except for the removal of functionality that was not supported by encrypted_moor.dart.
2019-10-07 22:16:31 +02:00