Commit Graph

1152 Commits

Author SHA1 Message Date
Simon Binder 4611ecc3c8
moor_ffi: Workaround to load sqlite3 on old Android devices 2020-05-12 19:41:16 +02:00
Simon Binder 04f24d3184
Ignore broken offset calculation for autocomplete 2020-05-12 13:38:28 +02:00
Simon Binder 3dd682d522
Also log statements during migrations if desired 2020-05-12 13:38:02 +02:00
Simon Binder 254a54e9b6
Fix crash in analyzer plugin 2020-05-09 16:55:54 +02:00
Simon Binder 44bd89e47a
Don't throw when resolving types outside of the build analyzer
We still can't resolve the actual type, but at least we don't crash
now.
As we don't read the type of converters in the plugin or CLI, this
fixes #550
2020-05-08 21:43:36 +02:00
Simon Binder 0af49dd6df
Bring back the toCompanion method for data classes (#257) 2020-05-08 20:53:58 +02:00
Simon Binder e30bdd2acf
Support case sensitive contains (#527) 2020-05-07 18:59:12 +02:00
Simon Binder c8935b0518
Respect foreign key constraints for stream query propagation (#528) 2020-05-06 22:55:38 +02:00
Simon Binder 9841c960d1
Parse row values, warn on misuse 2020-05-06 21:08:47 +02:00
Simon Binder ab66a3befd
Support equals and hashCode in companions (#545) 2020-05-06 18:34:49 +02:00
Simon Binder c9ba2c0237
Links dartdocs from documentation website 2020-05-05 18:53:24 +02:00
Simon Binder c5499eb6b5
Document that delete returns number of deleted rows (#544) 2020-05-05 18:46:13 +02:00
Simon Binder 8b6abd7140
Move referenced table finder to sqlparser package (#537) 2020-05-04 22:00:41 +02:00
Simon Binder f336668c8a
Merge branch 'develop' of gh:simolus3/moor into develop 2020-05-04 20:15:47 +02:00
Simon Binder 79294e248a
Escape column names in updates 2020-05-04 20:15:23 +02:00
Simon Binder 348fb655ce
Update pubspec for the encrypted executor 2020-05-04 13:13:13 +02:00
Simon Binder 28a7451f1d
Merge pull request #536 from mqus/patch-1
Fix documentation source code issues
2020-05-04 12:16:53 +02:00
mqus 882b789c1b
Fix example source code issues
Just some typos
2020-05-03 22:29:30 +02:00
Simon Binder 3e70060ef1
Merge branch 'Mike278-map-from-row-or-null-without-prefix' 2020-05-03 21:21:07 +02:00
Simon Binder bb0461ccd2
Format, add to changelog 2020-05-03 21:20:52 +02:00
Simon Binder 1fdade7ac8
Merge branch 'map-from-row-or-null-without-prefix' of https://github.com/Mike278/moor into Mike278-map-from-row-or-null-without-prefix 2020-05-03 21:16:26 +02:00
Simon Binder bd250ee9e7
Support collate expression with new type inference (#533) 2020-05-03 21:13:29 +02:00
Mike278 7e3df823db Fix null table prefix 2020-05-03 13:00:28 -04:00
Simon Binder 7bfb2ab6d3
Update dartdoc links in documentation 2020-05-03 14:47:57 +02:00
Simon Binder 727c30aa6b
Release moor 3.0 and moor_ffi 0.5.0 2020-05-03 14:39:47 +02:00
Simon Binder 93ae15986a
Fix batches in moor_flutter 2020-05-03 14:24:25 +02:00
Simon Binder aed5b43892
Fix integration tests on web 2020-05-03 13:56:49 +02:00
Simon Binder 0a30b8a12e
Upgrade integration tests, release sqlparser 0.8 2020-05-03 13:28:34 +02:00
Simon Binder d3c4eac166
First release preparation for moor 3.0 2020-05-02 14:50:04 +02:00
Simon Binder fc0b1f4388
Use package:charcode for sql scanning 2020-05-02 14:17:49 +02:00
Simon Binder d1b9a4125c
Improve instructions to install sqlite on windows (#525) 2020-05-01 22:11:34 +02:00
Simon Binder 10e8af433c
Explain that filter isn't available everywhere 2020-05-01 13:55:49 +02:00
Simon Binder 810c3a4044
Merge pull request #530 from ened/patch-1
Fixes a few typos
2020-05-01 13:29:32 +02:00
Sebastian Roth e1c568ba16
Fixes a few typos 2020-05-01 10:03:13 +01:00
Simon Binder 5ad5cded30
Fix deprecated member usage in moor test 2020-04-30 21:30:21 +02:00
Simon Binder 195eb0b39b
Small docs improvements 2020-04-30 21:28:42 +02:00
Simon Binder 81a476662c
Support contains (#527) 2020-04-30 11:51:09 +02:00
Simon Binder e90d72f25f
Don't use _openedDbCount outside of debug builds 2020-04-28 18:53:17 +02:00
Simon Binder 91115311cf
Extension to support old db field in daos 2020-04-27 14:18:47 +02:00
Simon Binder 572efd31ff
Document how to safely share MoorIsolates 2020-04-25 17:48:28 +02:00
Simon Binder 9ee050525d
Flutter integration tests for isolates 2020-04-25 16:34:45 +02:00
Simon Binder 2a3ed3ea12
Fix transactions in migrations for isolates 2020-04-25 16:29:46 +02:00
Simon Binder 97cff8564d
Migrate integration tests to DatabaseConnection 2020-04-25 15:12:55 +02:00
Simon Binder 1546f323b2
Merge branch 'master' into develop
# Conflicts:
#	docs/content/en/docs/Getting started/advanced_dart_tables.md
#	docs/content/en/docs/Using SQL/moor_files.md
#	extras/integration_tests/flutter_db/lib/moor_flutter.dart
#	moor/CHANGELOG.md
#	moor/lib/src/runtime/isolate/client.dart
#	moor/lib/src/runtime/isolate/server.dart
#	moor/pubspec.yaml
#	moor_ffi/test/database/database_test.dart
2020-04-25 12:44:01 +02:00
Simon Binder 4140090270
Document upserts 2020-04-25 12:23:37 +02:00
Simon Binder 721d25ff3c
Make insertOnConflictUpdate return a Future<int> 2020-04-24 22:34:09 +02:00
Simon Binder 821d1620cd
Run batch statements in the right order 2020-04-24 20:09:46 +02:00
Simon Binder 66a68dd2c8
Typos and small wording improvement in moor file docs 2020-04-24 17:47:57 +02:00
Simon Binder 9300010890
Only send primitive objects over isolates (#399) 2020-04-23 21:03:50 +02:00
Simon Binder 1fc38f8434
Expose underlying SendPort for moor isolate 2020-04-23 19:15:44 +02:00