Commit Graph

406 Commits

Author SHA1 Message Date
Simon Binder 59134e42db
Merge branch 'master' into develop 2020-01-21 21:09:53 +01:00
Simon Binder 257cfaca2e
Finish changelog and pubspec for 2.3 release 2020-01-21 17:55:41 +01:00
Simon Binder 064a57d381
Fix clientDefaults logic, some more tests for core pkg 2020-01-21 11:07:05 +01:00
Simon Binder 83a3344719
Initializer for web databases (#328) 2020-01-18 12:26:47 +01:00
Simon Binder d0cb2eec37
Add analyze command to moor cli tool, documentation site 2020-01-16 23:10:05 +01:00
Simon Binder 4a2184110f
Run tests for types1 for types2 resolver 2020-01-16 22:07:02 +01:00
Simon Binder 8ae68707f8
Smarter many-to-one propagation in types2 2020-01-15 22:10:18 +01:00
Simon Binder ddda6797e1
types: Analyze functions 2020-01-13 20:40:46 +01:00
Simon Binder 5d8040554f
CLI tool to export a moor schema to json 2020-01-12 10:38:03 +01:00
Rody Davis 43316c1e47 Update moor_shared url (#330)
Update documentation to reflect the updated url

Co-authored-by: Simon Binder <oss@simonbinder.eu>
2020-01-09 21:11:30 +01:00
Simon Binder 1b60879a09
Fix unnecessary re-query when subscriptions switch (#329) 2020-01-09 16:14:20 +01:00
Simon Binder cefa290d7e
Batch: Delete method for insertables 2020-01-08 12:14:04 +01:00
Simon Binder c2ec06c1de
Fix transaction behavior on isolates (#324) 2020-01-07 14:57:42 +01:00
Simon Binder c5c8dc7d6d
Support delete statements in batches
Closes #325
2020-01-07 11:40:43 +01:00
Simon Binder c95a5f0aad
New type resolver: Start propagating known types 2020-01-04 13:22:29 +01:00
Simon Binder 373ad320c4
Support @create-queries in moor files 2020-01-03 22:15:40 +01:00
Simon Binder 00c1d2a2e7
Migrator support for indexes, tests 2020-01-03 20:08:10 +01:00
Simon Binder 5b04a08786
Generate code for indices 2020-01-03 19:36:38 +01:00
Simon Binder fc0949ebd1
CI: Fix analysis script 2020-01-03 16:18:25 +01:00
Simon Binder 3ad03d9dc6
Test that triggers can be created manually 2020-01-03 15:55:28 +01:00
Simon Binder 8df6ab3a14
Generate fields for triggers 2020-01-03 15:47:18 +01:00
Simon Binder 3ee05bf647
Respect tables in the body of a CREATE TRIGGER statement 2020-01-03 15:38:13 +01:00
Gabriel Terwesten 0cbeb3036d docs(DataClassName): fix template name 2020-01-03 14:14:50 +01:00
Simon Binder 75cbe74b53
Make "new" and "old" table available for triggers 2020-01-01 20:37:34 +01:00
Simon Binder 49550c2f74
Test to verify CREATE TRIGGER statements are issued 2020-01-01 19:42:44 +01:00
Simon Binder 8b86143ebb
Generate code for triggers 2019-12-31 16:03:03 +01:00
Simon Binder 04f75d11d3
Migrate some trigger code to refactorings on develop 2019-12-30 21:38:24 +01:00
Simon Binder ba603f22cc
Merge branch 'develop' into views-triggers-indexes
# Conflicts:
#	moor/lib/moor.dart
#	moor/lib/src/runtime/api/query_engine.dart
#	moor/lib/src/runtime/query_builder/schema/entities.dart
#	moor/test/data/tables/custom_tables.g.dart
#	moor/test/data/tables/tables.moor
#	moor/test/parsed_sql/moor_files_integration_test.dart
#	moor_generator/lib/src/analyzer/moor/parser.dart
#	moor_generator/lib/src/analyzer/runner/steps.dart
#	moor_generator/lib/src/analyzer/runner/steps/analyze_dart.dart
#	moor_generator/lib/src/model/specified_db_classes.dart
#	moor_generator/lib/src/writer/database_writer.dart
#	sqlparser/lib/src/ast/ast.dart
#	sqlparser/lib/src/ast/statements/create_table.dart
#	sqlparser/lib/src/ast/statements/statement.dart
#	sqlparser/lib/src/reader/parser/schema.dart
#	sqlparser/lib/src/reader/tokenizer/token.dart
#	sqlparser/test/engine/autocomplete/static_test.dart
2019-12-30 21:08:32 +01:00
Simon Binder 22525b24c3
Documentation for new moor features 2019-12-30 19:06:58 +01:00
Simon Binder e9cada5e54
Api to globally override the default ValueSerializer
Closes #303
2019-12-27 18:17:45 +01:00
Simon Binder 72934d1b87
Check isRequired at compile time, save verification code 2019-12-25 22:26:32 +01:00
Simon Binder 5314520746
clientDefault values for columns #294 2019-12-25 22:22:46 +01:00
Simon Binder 9dbd737087
Integration test for fts5 queries 2019-12-25 14:00:47 +01:00
Simon Binder b79c1c1f57
More docs, try to fix pana warnings 2019-12-24 13:48:51 +01:00
Simon Binder 633570257c
Fix moor tests for new column-$write behavior 2019-12-23 13:58:00 +01:00
Simon Binder e01b7a1b88
Remove author from pubspec, bump version for next release 2019-12-23 12:52:46 +01:00
Simon Binder 3f0c35abff
Improve changelog, error description for columns 2019-12-23 12:24:22 +01:00
Simon Binder 28e8421aba
Test to ensure hasMultipleTables has the correct effect 2019-12-21 22:59:44 +01:00
Simon Binder 1f0ede967b
Add missing call to shutdownAll in test case 2019-12-21 18:10:55 +01:00
Simon Binder 8987da453b
Test that streams synchronize over multiple isolates 2019-12-21 18:04:01 +01:00
Simon Binder c07ca12273
Set hasMultipleTables: true when appropriate 2019-12-21 14:57:36 +01:00
Simon Binder 2c57a80771
Revert using mapFromRow() for matched tables in queries 2019-12-21 14:51:22 +01:00
Simon Binder c9071f2f7d
Explain that most work happens on develop 2019-12-20 18:15:52 +01:00
Simon Binder 8f15356357
Merge branch 'master' into develop
# Conflicts:
#	moor/CHANGELOG.md
#	moor/test/data/tables/custom_tables.g.dart
#	moor/test/data/tables/tables.moor
#	moor_generator/lib/src/analyzer/runner/task.dart
#	moor_generator/lib/src/backends/build/moor_builder.dart
#	moor_generator/test/analyzer/moor/cfe_test.dart
2019-12-18 22:04:50 +01:00
Simon Binder 0d4cf13001
Factories for easier ordering terms (#284) 2019-12-18 15:59:28 +01:00
Simon Binder 76ac7c7ab3
Support batches in transactions (#271) 2019-12-16 15:50:12 +01:00
Simon Binder 6b776d47d7
Documentation for the json1 and fts5 extensions 2019-12-14 12:39:39 +01:00
Simon Binder 94634bd48b
Support custom fts5 queries 2019-12-12 18:56:37 +01:00
Simon Binder e983e4da63
Publish moor version 2.1.1 2019-12-12 09:54:34 +01:00
Simon Binder 41b32b1684
Fix crash when database is closed with asserts disabled 2019-12-12 09:23:54 +01:00