Commit Graph

1520 Commits

Author SHA1 Message Date
Simon Binder 02cd8f2b33
Add more analyzer tags to generator tests 2020-08-21 17:37:07 +02:00
Simon Binder 6fba2555c1
Api to turn AST nodes into a textual represenation 2020-08-21 16:44:17 +02:00
Simon Binder 3552e0c5dc
Work around build bug in moor 2020-08-20 21:00:21 +02:00
Simon Binder 9ed52f8d1d
Fix streams still emitting data after cancel (#766) 2020-08-15 21:19:29 +02:00
Simon Binder d0b13c43eb
Add groupConcat to Dart api (#763) 2020-08-15 09:53:50 +02:00
Simon Binder ffc01e4516
ffi: Create parent dir to avoid misuse errors (#731) 2020-08-14 21:57:49 +02:00
Simon Binder a2b28945d1
Add DatabaseConnection.delayed constructor 2020-08-13 21:09:26 +02:00
Simon Binder a037de6621
Support rowid resolution outside of selects
This fixes #754
2020-08-10 10:46:33 +02:00
Simon Binder 5cbc331dda
Release moor, moor_generator 3.3.1, sqlparser 0.10.1 2020-08-07 21:58:56 +02:00
Simon Binder 153cfadd81
Remove debug print 2020-08-07 21:36:20 +02:00
Simon Binder 82e0ff4827
Allow changing the onData callback in query streams 2020-08-07 21:33:17 +02:00
Simon Binder e6ede795f8
Upgrade Dart in CI 2020-08-07 20:50:38 +02:00
Simon Binder 0d9196dca8
Resolve columns in CREATE TRIGGER declaration (#751) 2020-08-07 20:38:32 +02:00
Simon Binder cd61c5ad16
Generator: Fix duplicate code generation for table imports (#447) 2020-08-06 16:49:58 +02:00
Simon Binder 0d88f209bb
Update documentation on queries in annotations 2020-08-05 18:49:11 +02:00
Simon Binder 5510cb97b1
Release version 3.3.0 and moor_ffi 0.8.0 2020-07-29 13:00:50 +02:00
Simon Binder 599128273c
Migrate with_built_value to moor/ffi 2020-07-29 12:03:47 +02:00
Simon Binder 95f25421b4
Install sqlite3 in CI 2020-07-29 11:38:25 +02:00
Simon Binder 7623362fc6
Don't test moor_ffi in CI
We don't have Flutter in the CI, and the package is
deprecated.
2020-07-29 11:28:55 +02:00
Simon Binder 4f6798c0ab
Test moor_ffi through Flutter in CI 2020-07-29 11:17:57 +02:00
Simon Binder 167a267bb7
Merge branch 'master' into develop
# Conflicts:
#	extras/integration_tests/flutter_db/pubspec.lock
#	moor_ffi/CHANGELOG.md
#	moor_ffi/pubspec.yaml
2020-07-29 10:42:24 +02:00
Simon Binder 3215b7e571
Prepare 3.3.0 release 2020-07-28 22:30:04 +02:00
Simon Binder 6e20a68f6e
Merge pull request #734 from saladthieves/patch-1
Fix documentation typo / wording
2020-07-26 20:08:06 +02:00
Egide Muhire 0d2512c510
Fix documentation typo / wording 2020-07-26 13:48:35 +02:00
Simon Binder c2ce934361
Apply type converters on variables (#730) 2020-07-23 17:30:26 +02:00
Simon Binder 3287098c86
Don't include Chrome and FF in CI builds 2020-07-23 15:45:06 +02:00
Simon Binder c955be7537
Rebuild Dockerfile in CI 2020-07-23 13:02:32 +02:00
Simon Binder 28cfa957a6
Deprecate issueCustomStatement in favor of customStatement (#729) 2020-07-23 12:54:39 +02:00
Simon Binder 5c6e8a76b6
Split ffi & sqflite integration tests 2020-07-23 12:27:45 +02:00
Simon Binder 640cae1244
Scan [identifiers] in sql queries (#724) 2020-07-22 10:43:44 +02:00
Simon Binder a01f5be2ac
Don't attempt to analyze null moor files 2020-07-22 10:34:22 +02:00
Simon Binder 6b43a57911
Warn when using both primaryKey and autoIncrement() 2020-07-21 19:43:43 +02:00
Simon Binder ea9d72629f
Docs: Explain that sql mapping doesn't affect JSON (#718) 2020-07-20 18:56:21 +02:00
Simon Binder 165fc37721
Add setup callback for moor ffi 2020-07-18 18:19:42 +02:00
Simon Binder ebb7448d1b
Document how to use moor/ffi.dart 2020-07-18 18:08:38 +02:00
Simon Binder 270a29164f
Migrate integration test to new ffi library 2020-07-18 17:57:17 +02:00
Simon Binder ba708ee9c5
Merge branch 'use-sqlite3-package' into develop 2020-07-18 17:47:27 +02:00
Simon Binder 144116b5e1
Re-run generator in Flutter example, fix type inference bug (#715) 2020-07-18 13:38:21 +02:00
Simon Binder 834ca520b1
Lint for mismatching types in arithmetic expressions 2020-07-18 11:19:20 +02:00
Simon Binder cb7c36d63b
sqlparser: Improve numeric token parsing 2020-07-18 11:01:04 +02:00
Simon Binder 800ee8ac3a
Add implicit cast when inferring binary expressions 2020-07-18 09:49:49 +02:00
Simon Binder 54cf553e15
Merge pull request #713 from remove/develop
Update faq.md
2020-07-18 09:34:52 +02:00
remove 220c9b48ba
Update faq.md
provider usage typo
2020-07-18 10:38:47 +08:00
Simon Binder ba60bb9962
Don't generate const constructors for mutable classes (#699) 2020-07-17 13:12:06 +02:00
Simon Binder 6922ae0409
Guard against invalid sessions in the type deserializer 2020-07-14 19:10:22 +02:00
Simon Binder f77fdd8ee8
Merge pull request #697 from nachoapps/moor_dev_patch
Make DefaultValueSerializer null-safe for blobs
2020-07-14 09:37:56 +02:00
tactical_retreat 4443be79d5 Make DefaultValueSerializer null-safe for blobs
This fixes an issue where a nullable blob column, e.g. `BlobColumn get logic => blob().nullable()();` will throw an error that looks like `NoSuchMethodError: The method 'cast' was called on null.`

(cherry picked from commit 87937ba89b28e956963555d7a456b61b67500043)
2020-07-13 16:39:23 -04:00
Simon Binder bf464c751a
Remove usage of newly deprecated analyzer apis 2020-07-13 21:49:21 +02:00
Simon Binder 7ce9ee3b0c
Fix remaining InconsistentAnalysisExceptions 2020-07-13 15:28:18 +02:00
Simon Binder e0ce093361
Explain @required in data classes (#548) 2020-07-13 15:14:45 +02:00