Commit Graph
100 Commits
Author SHA1 Message Date
Simon Binder 6999f19ba5 Update netlify config 2020-09-24 19:55:25 +02:00
Simon Binder 0e9db5d2ea Docs: Explain supported platforms 2020-09-24 19:50:00 +02:00
Simon Binder fd85987b48 docs: Update docsy and hugo 2020-09-24 19:15:22 +02:00
Simon Binder 0b8aa9b3dd Also fix sqlite_schema usages in test 2020-09-24 18:43:04 +02:00
Simon Binder 0a3340da72 Migrations: Query legacy schema table for compatibility 2020-09-19 20:08:44 +02:00
Simon Binder 39ab61e551 Ignore deprecated members from same package in moor 2020-09-19 17:41:19 +02:00
Simon Binder 3fdac823dd More docs, tests for advanced migrations 2020-09-18 19:15:26 +02:00
Simon Binder 9d9a4f4065 Add customStatement to batch api (#817) 2020-09-11 11:19:18 +02:00
Simon Binder c303781bb1 Assert transactions aren't used after they complete 2020-09-06 14:20:02 +02:00
Simon Binder fa432ee17a Add test for type hints in between expressions 2020-09-06 13:27:30 +02:00
Simon Binder 70096357e0 Add date() function to query builder 2020-09-06 13:26:56 +02:00
Simon Binder d2996af72e Add cast function to query builder 2020-09-04 13:25:05 +02:00
Simon Binder a317bf253a Begin with new api for complex table migrations 2020-09-04 13:13:26 +02:00
Simon Binder d6a321ca3c Add generate_values_in_copy_with build option (#795) 2020-09-01 13:34:02 +02:00
Simon Binder 6e157b02c9 Add formatting test for default placeholder values 2020-08-30 14:08:30 +02:00
Simon Binder e510be34a3 Warn when using default values outside of expressions 2020-08-30 14:05:28 +02:00
Simon Binder b59d5b8f58 Simplify moor files integration test 2020-08-30 13:51:52 +02:00
Simon Binder 2ae2388878 Support default values for Dart placeholders (#753) 2020-08-30 13:48:47 +02:00
Simon Binder 527b9d731d Plugin: Send request error for non-moor requests (#779) 2020-08-22 19:07:51 +02:00
Simon Binder 00bce95e97 Don't add test/ dir to coverage 2020-08-22 12:39:43 +02:00
Simon Binder 57efa4bb89 Add more tests for node to text 2020-08-22 12:36:36 +02:00
Simon Binder 1feaf571cb Fix coverage resolving 2020-08-21 21:26:27 +02:00
Simon Binder 0bc6f1368b Add coalesce function (#780) 2020-08-21 20:59:55 +02:00
Simon Binder 0e631b98d2 Skip generator tests in CI 2020-08-21 19:32:52 +02:00
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
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
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
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
Simon Binder 74caeced85 Fix typo in parsing error message 2020-07-12 17:59:24 +02:00
Simon Binder 5b1a36df8e Fix typo in parsing error message 2020-07-12 17:58:45 +02:00
Simon Binder 35629abf2b Migrate sqlparser from moor_ffi to sqlite3 2020-07-10 17:32:45 +02:00
Simon Binder 22391a9c54 Migrate benchmarks to sqlite3/ package 2020-07-10 17:30:10 +02:00
Simon Binder e21163d90a Deprecate the eagerly_load_dart_ast option 2020-07-09 17:49:05 +02:00
Simon Binder fa1e76f8f3 Option to get raw data in result sets (#615) 2020-07-09 17:38:46 +02:00
Simon Binder e4fa5fb936 Begin migration to sqlite3 package 2020-07-08 19:04:57 +02:00
Simon Binder ba987b57b1 Release moor_ffi version 0.7.1 2020-07-08 16:04:10 +02:00
Simon Binder 110a8d9e53 Add empty Android plugin class to moor_ffi 2020-07-08 16:02:20 +02:00
Simon Binder 7ff91a620a Some improvements related to generator error recovery 2020-07-07 23:01:02 +02:00
Simon Binder 6f0fa9cde1 Docs: Explain that any expression works as ordering term 2020-07-07 19:33:01 +02:00
Simon Binder 634d1318e0 Add empty Android plugin class to moor_ffi 2020-07-03 12:10:37 +02:00
Simon Binder 2332c58742 Override toString in result classes (#676) 2020-07-02 19:59:41 +02:00
Simon Binder ac20d9b324 Fix some pub warnings that appeared during publishing 2020-06-28 21:17:33 +02:00
Simon Binder c80235799c moor_generator: Properly release analyzer during tests 2020-06-28 18:48:32 +02:00
Simon Binder 3923b815fd Merge branch 'master' into develop
# Conflicts:
#	moor_generator/pubspec.yaml
2020-06-28 17:34:00 +02:00
Simon Binder 3a558c3d1d Prepare moor 3.2, moor_ffi 0.7 release 2020-06-28 17:27:32 +02:00
Simon Binder 2897dd4ae0 Parse NULLS FIRST and NULLS LAST 2020-06-27 14:38:16 +02:00
Simon Binder 5136412573 Parse DEFERRABLE clauses on foreign key constraints 2020-06-27 14:26:09 +02:00
Simon Binder ab4b1d75ff Escape keywords in moor_generator tests 2020-06-27 13:06:29 +02:00
Simon Binder 211b6fa2e9 sqlparser: Support remaining sqlite keywords 2020-06-26 22:54:42 +02:00
Simon Binder 34e827b0b5 Escape column names in primary key (#661) 2020-06-25 20:03:05 +02:00
Simon Binder e6a51b5ac4 moor_ffi: Build with latest sqlite3 and rtree 2020-06-24 17:47:14 +02:00
Simon Binder d5c6467e37 Finish documentation, remove unnecessary null hint 2020-06-24 17:11:41 +02:00
Simon Binder ccea0a5d36 Don't throw parsing errors for top-level statements 2020-06-24 17:08:13 +02:00
Simon Binder b4aeacdba3 Add tests for errors across isolates 2020-06-23 19:35:31 +02:00
Simon Binder d881659db6 Support flags in regexp (#644) 2020-06-22 22:20:43 +02:00
Simon Binder ec8ee96f12 Fix code in intro to moor files documentation 2020-06-22 21:03:37 +02:00
Simon Binder bccbb3e7a8 Don't require tables on UseMoor or UseDao 2020-06-21 18:19:59 +02:00