Commit Graph

588 Commits

Author SHA1 Message Date
Simon Binder 0bad842735
Parse table constraints 2019-07-28 21:01:48 +02:00
Simon Binder 7e0bfa9cf9
Parse foreign clauses as column constraints 2019-07-28 20:18:22 +02:00
Simon Binder 7a9cafb02f
Deprecate diff utils, MoorAnimatedList 2019-07-28 14:45:36 +02:00
Simon Binder 7f79fd922b
Provide information about the sql dialect at runtime 2019-07-28 14:21:39 +02:00
Simon Binder 94a9b9e2bc
Document type converters feature 2019-07-28 13:44:25 +02:00
Simon Binder f4bc8e2121
Integration tests for type converters 2019-07-28 11:43:02 +02:00
Simon Binder 7cddf6f5d7
Provide coverage upload token variable 2019-07-28 11:08:39 +02:00
Simon Binder 053d4280fc
Only format coverage once 2019-07-28 10:38:18 +02:00
Simon Binder 47a032c645
Move coverage uploading into same Cirrus task 2019-07-28 10:32:31 +02:00
Simon Binder 884f5053a0
Fix typo in cirrus script 2019-07-28 10:19:40 +02:00
Simon Binder 4c7874dd91
Test and coverage the sql parser 2019-07-28 09:49:14 +02:00
Simon Binder b4cdcf0431
Support type converters in compiled custom statements 2019-07-28 00:02:17 +02:00
Simon Binder dbda5dccc1
Cache type converters in static fields 2019-07-27 22:44:44 +02:00
Simon Binder 7b6802e1c5
Split parser implementation into multiple files 2019-07-27 20:47:11 +02:00
Simon Binder 1766bb3f77
Fix tests that used "table" as a table name
(we now recognize that as a keyword)
2019-07-26 13:49:25 +02:00
Simon Binder dee9993c83
Parse CREATE TABLE statements 2019-07-26 13:35:49 +02:00
Simon Binder 888e429467
Write model classes to represent CREATE TABLE statements 2019-07-26 11:35:53 +02:00
Simon Binder 21956a6b48
Use variables instead of failing to write string literals
Fixes #88
2019-07-26 09:25:55 +02:00
Simon Binder 6c84013cfa
Correctly find references to aliased columns 2019-07-25 17:44:59 +02:00
Simon Binder 82f84732d0
Resolve aliased columns 2019-07-25 17:33:01 +02:00
Simon Binder 4bf58cb83b
API to close databases, integration test that saves data 2019-07-25 17:04:32 +02:00
Simon Binder 7327e1f8b1
Readme for integration tests 2019-07-24 23:41:16 +02:00
Simon Binder fdbffa47fc
Integration tests for the web backend 2019-07-24 23:32:45 +02:00
Simon Binder 7ab63c0862
Run the integration tests on the VM backend 2019-07-24 22:21:52 +02:00
Simon Binder 05b84a21ef
Merge branch 'develop' into ffi 2019-07-24 22:14:46 +02:00
Simon Binder a7395ba83d
Write integration tests, sort of run them in Flutter 2019-07-24 22:14:02 +02:00
Simon Binder 42f66679f1
Publish a simple encrypted version for moor 2019-07-24 19:23:25 +02:00
Simon Binder b75bd4d5ec
Make mysql example a sub-library that we won't publish 2019-07-24 18:25:59 +02:00
Simon Binder 1df635c067
Rebuild master (coverage was broken) 2019-07-23 22:19:43 +02:00
Simon Binder 5f8ab42189
Start to work on MySQL example 2019-07-23 22:16:21 +02:00
Simon Binder 5b7ffb3dbf
Merge branch 'develop' into ffi 2019-07-23 09:36:11 +02:00
Simon Binder e46a8d84d5
Fix failing transaction test
Not completing is excepted behavior now
2019-07-23 09:13:31 +02:00
Simon Binder b3d381afe6
Rollback transactions when callback throws
Closes #83
2019-07-23 09:06:02 +02:00
Simon Binder 147499c1f7
Ability to rollback transactions 2019-07-23 08:49:51 +02:00
Simon Binder e36fe84480
Merge branch 'develop' into ffi
# Conflicts:
#	moor/lib/src/runtime/executor/helpers/engines.dart
#	moor/lib/src/web/web_db.dart
2019-07-22 13:06:24 +02:00
Simon Binder 2ee548e5d8
Implement the web database with the new backends api 2019-07-22 12:47:18 +02:00
Simon Binder 56f8e447bd
Migrate VM database to use the new delegate api 2019-07-22 12:11:38 +02:00
Simon Binder 2500e5ff20
Merge branch 'develop' into ffi
# Conflicts:
#	moor_flutter/lib/moor_flutter.dart
2019-07-22 11:32:07 +02:00
Simon Binder 48f87330d6
New API to create custom backends easier
Also ported the Flutter backend to that API
2019-07-22 11:30:39 +02:00
Simon Binder 6acc81c88b
Merge branch 'master' into develop
# Conflicts:
#	moor_generator/lib/src/parser/table_parser.dart
2019-07-20 23:25:18 +02:00
Simon Binder c88a5d87e3
Actually support analyzer 0.37 in moor_generator 2019-07-20 23:17:11 +02:00
Simon Binder 4b9cd084b5
VM: transactions and before open callback 2019-07-20 22:55:27 +02:00
Simon Binder eb0edb8ac0
Merge branch 'develop' into ffi 2019-07-20 22:32:53 +02:00
Simon Binder 37cba6971c
Attempt to fix coverage collection 2019-07-20 22:15:52 +02:00
Simon Binder 7229002383
Integration test for the Dart VM 2019-07-20 20:50:09 +02:00
Simon Binder e9cba8d600
Type fixes for ffi 2019-07-20 19:30:47 +02:00
Simon Binder e00f7bfa29
Use our own sqlite api instead of Dart example 2019-07-20 17:20:47 +02:00
Simon Binder 5dde293015
Start with primitive VM implementation 2019-07-20 11:56:56 +02:00
Simon Binder e7fd94e9db
Copy-paste ffi sqlite library from putraxor/sqlite3_ffi 2019-07-20 11:00:51 +02:00
Simon Binder 35e6ed67df
Use new GeneratorSession for the writer 2019-07-20 10:18:41 +02:00