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 |
Simon Binder
|
cf607f0108
|
Escape column names during insert
|
2019-12-12 09:23:41 +01:00 |
Simon Binder
|
f876929ba3
|
Save database after opening (fixes #273)
|
2019-12-12 09:21:43 +01:00 |
Simon Binder
|
8ee3029ed0
|
Save database after opening (fixes #273)
|
2019-12-11 11:18:59 +01:00 |
Simon Binder
|
2c97373bdd
|
Support implicit-dynamic: false
Closes #268
|
2019-12-10 20:38:08 +01:00 |
Simon Binder
|
74ebb8a9ab
|
Ability to create fts5 tables in moor files (#196)
|
2019-12-10 20:24:08 +01:00 |
Simon Binder
|
e982593643
|
dsl: Throw an exception instead of returning null
|
2019-12-09 19:35:25 +01:00 |
Simon Binder
|
fb3eb4ee6b
|
Merge pull request #270 from Elvis5566/store_db_after_custom_statement
Fix table not found exception.
|
2019-12-07 21:18:07 +01:00 |
Simon Binder
|
67c3715768
|
Fix another test regarding Dart components in sql
|
2019-12-07 18:06:42 +01:00 |
Simon Binder
|
4ee228d5a6
|
Write table name for columns in components (#269)
|
2019-12-07 13:38:33 +01:00 |
Elvis Lee
|
770da50078
|
[Fix] table not found exception.
|
2019-12-06 15:06:34 +08:00 |
Simon Binder
|
28b1e19145
|
Test that dart components can be used from UseMoor/Dao
Fixes #267
|
2019-12-05 19:23:52 +01:00 |
Simon Binder
|
3c74a20f56
|
Enable more recent lints and enforce them
|
2019-12-04 21:45:09 +01:00 |
Simon Binder
|
092f64d7cf
|
Escape column names during insert
|
2019-12-02 21:40:41 +01:00 |
Simon Binder
|
a0ce3421c9
|
Resolve json functions when option is set (#235)
|
2019-11-28 21:50:55 +01:00 |
Simon Binder
|
59f408229b
|
Dart apis for the json1 extension (#235)
|
2019-11-28 19:13:51 +01:00 |
Simon Binder
|
d2c863c5fc
|
Fix crash when database is closed with asserts disabled
|
2019-11-28 17:59:50 +01:00 |
Simon Binder
|
139908ba99
|
Expand documentation on how batches are executed
|
2019-11-27 20:18:51 +01:00 |
Simon Binder
|
925d28c080
|
Always run batches inside a transaction
|
2019-11-27 12:06:19 +01:00 |
Simon Binder
|
68b516fff4
|
Fix analyzer crash at CTE (#255)
|
2019-11-24 21:21:32 +01:00 |
Simon Binder
|
bb1fcc1590
|
Fix analyzer crash at CTE (#255)
|
2019-11-24 14:46:20 +01:00 |
Simon Binder
|
8819245685
|
Resolve Dart expressions in moor files
|
2019-11-18 13:59:10 +01:00 |
Simon Binder
|
a17448683e
|
Add documentation for custom select expressions
|
2019-11-16 21:30:48 +01:00 |
Simon Binder
|
0a96769dcb
|
Override hashCode and operator == in common expressions
|
2019-11-16 20:54:34 +01:00 |
Simon Binder
|
7609df34f0
|
Support selecting custom expressions
|
2019-11-16 16:38:02 +01:00 |
Simon Binder
|
598fef750e
|
RELEASE
- moor 2.1.0
- moor_generator 2.1.0
- sqlparser 0.4.0
- moor_ffi 0.2.0
|
2019-11-16 11:23:11 +01:00 |
Simon Binder
|
c0aa88f4d0
|
Warn when a database class isn't used as a singleton
|
2019-11-15 09:52:38 +01:00 |
Simon Binder
|
22c692c69e
|
Move base dao/db classes, query engine into separate files
|
2019-11-15 08:53:11 +01:00 |
Simon Binder
|
e83464df28
|
Prepare 2.1.0 release
|
2019-11-13 21:14:38 +01:00 |
Simon Binder
|
b6d5f7eaa8
|
Merge branch 'master' into develop
|
2019-11-13 19:29:02 +01:00 |
Simon Binder
|
bc3910cd86
|
Collect coverage for the MoorIsolate tests
|
2019-11-13 18:35:48 +01:00 |
Simon Binder
|
bea001bb16
|
Improve test coverage for query generation
|
2019-11-12 21:16:48 +01:00 |
Simon Binder
|
85fa0d4764
|
Update docs to reflect the new extension-based API
|
2019-11-09 21:16:24 +01:00 |
Simon Binder
|
067212e66c
|
Make streams emit errors when they can't fetch data (#233)
|
2019-11-09 19:59:42 +01:00 |
Simon Binder
|
ba6411e6f0
|
Expose UPPER, LOWER and LENGTH functions from the Dart API
|
2019-11-09 18:53:15 +01:00 |
Simon Binder
|
4a2b02782e
|
Make streams emit errors when they can't fetch data (#233)
|
2019-11-09 16:34:01 +01:00 |
Simon Binder
|
5b3bcb1916
|
Introduce extension for DateTime expressions
|
2019-11-09 13:07:49 +01:00 |
Simon Binder
|
82a6fd9f2d
|
Make sure libsqlite3.so is available for CI tests
|
2019-11-09 10:45:35 +01:00 |
Simon Binder
|
623f3212a1
|
Use builtin coverage collection from test package
|
2019-11-08 22:51:53 +01:00 |
Simon Binder
|
17210f7bee
|
Don't write all parentheses (compare precedence, #231)
|
2019-11-08 21:49:23 +01:00 |
Simon Binder
|
b211d68661
|
Arithmetic operators for sql expressions in Dart
|
2019-11-08 20:43:52 +01:00 |
Simon Binder
|
ef5dde135b
|
More marketing in readme
|
2019-11-08 17:32:05 +01:00 |
Simon Binder
|
7c9429110f
|
Reference SDK issue that requires us to hide an extension
|
2019-11-06 15:33:17 +01:00 |
Simon Binder
|
77cc6b2d88
|
Use extensions methods for Dart query api (#195)
|
2019-11-06 12:16:55 +01:00 |
Simon Binder
|
e3d3bcd99e
|
Proper api to terminate a MoorIsolate
|
2019-11-05 21:36:51 +01:00 |
Simon Binder
|
44cb7c0503
|
Documentation for the isolate executor
|
2019-11-05 21:19:52 +01:00 |
Simon Binder
|
c7fdf44a6e
|
Support transactions and batches for the isolate api
|
2019-11-05 20:22:55 +01:00 |
Simon Binder
|
98470109cf
|
Remove built_value(_generator) dependency from generator
|
2019-11-04 17:09:21 +01:00 |
Simon Binder
|
9f1aafbcef
|
Expand batch api to update statements (#221)
|
2019-11-02 21:48:37 +01:00 |
Simon Binder
|
b189a2bcb2
|
Better errors on QueryExecutor misuse, fix beforeOpen
|
2019-11-02 11:48:11 +01:00 |
Simon Binder
|
ed4d69a792
|
Remove limitations of a beforeOpen callback (#216)
|
2019-10-31 18:41:15 +01:00 |
Simon Binder
|
f3221e09bc
|
Support stream queries across isolates
|
2019-10-30 21:10:53 +01:00 |
Simon Binder
|
a2c7c11abf
|
Support executing queries over isolates
|
2019-10-30 20:32:08 +01:00 |
Simon Binder
|
5cc1f85441
|
Inject mock streams via .connect constructor
|
2019-10-30 19:25:26 +01:00 |
Simon Binder
|
c5d4e38ea9
|
Implementation for isolate databases over rpc
|
2019-10-30 19:12:38 +01:00 |
Simon Binder
|
ebc22c8382
|
Merge branch 'develop' into multiple-isolates
|
2019-10-28 20:42:30 +01: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
|
ddabf21d01
|
Verify that triggers can be created
|
2019-10-21 18:39:52 +02:00 |
Simon Binder
|
8a54fd4729
|
Generate code for CREATE TRIGGER statements
|
2019-10-21 18:13:28 +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
|
6f8757829e
|
Schema entities as abstraction layer, model for triggers
|
2019-10-20 14:21:31 +02:00 |
Simon Binder
|
1f8dfbe887
|
Call doWhenOpened for customStatement (#199)
|
2019-10-20 11:39:24 +02:00 |
Simon Binder
|
fd27c878d4
|
Fix errors in sqlparser that were swallowed before
|
2019-10-19 16:41:30 +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
|
438f979ed1
|
Use a mixin for auto increment columns in test file
|
2019-10-11 22:12:28 +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
|
5ae3d7c2af
|
Prepare pubspec and changelog for 2.0.1 release
|
2019-10-11 13:17:50 +02:00 |