Commit Graph

988 Commits

Author SHA1 Message Date
Simon Binder 8c62365f26
Improve type inference for parentheses 2020-01-19 13:07:47 +01:00
Simon Binder c8a155a44b
Autocomplete table names in sqlparser 2020-01-18 21:41:36 +01:00
Simon Binder b04ebc9e8c
Utils to make testing autocomplete easier 2020-01-18 20:51:09 +01:00
Simon Binder eb77d06cac
sqlparser: Recover from invalid column definitions 2020-01-18 15:09:42 +01:00
Simon Binder 83a3344719
Initializer for web databases (#328) 2020-01-18 12:26:47 +01:00
Simon Binder bb15c82400
Merge pull request #342 from Inconnu08/patch-1
Typo in README
2020-01-18 10:28:22 +01:00
Taufiq Rahman 5e93951a2e
Update README.md 2020-01-18 13:36:29 +06: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 a4c0237300
Fix errors in documentation (#336, #337) 2020-01-12 10:56:16 +01:00
Simon Binder cd7a8d6f25
Use 64 bit ints in moor_ffi (#338) 2020-01-12 10:49:30 +01:00
Simon Binder 5d8040554f
CLI tool to export a moor schema to json 2020-01-12 10:38:03 +01:00
Simon Binder 9c38ed1ea5
Support CASE expressions in the new type resolver 2020-01-10 21:31:22 +01:00
Simon Binder 6434f7a7d5
Support virtual tables in the analyzer plugin 2020-01-09 22:45:25 +01:00
Simon Binder 643ef5640c
Faster sql tokenization with char codes 2020-01-09 22:09:17 +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 2ae6fbc99b
Re-run build in moor_flutter/example, index in moor files 2020-01-09 18:07:25 +01:00
Simon Binder 1b60879a09
Fix unnecessary re-query when subscriptions switch (#329) 2020-01-09 16:14:20 +01:00
Simon Binder 5c82b2f2a7
Loose coupling between highlighter and analyzer plugin 2020-01-09 13:50:11 +01:00
Simon Binder a0684364c5
Fix analyzer plugin crash, highlight import strings 2020-01-08 12:17:43 +01:00
Simon Binder cefa290d7e
Batch: Delete method for insertables 2020-01-08 12:14:04 +01:00
Simon Binder 6863de3523
Merge pull request #327 from yshahak/patch-1
fix type for docs
2020-01-07 17:20:30 +01:00
Yaakov Shahak d6e84a4bd0
fix type for docs 2020-01-07 16:04:11 +02:00
Simon Binder c2ec06c1de
Fix transaction behavior on isolates (#324) 2020-01-07 14:57:42 +01:00
Simon Binder a3708b7230
Remove deprecated usages of SqlEngine constructor 2020-01-07 11:40:43 +01:00
Simon Binder c5c8dc7d6d
Support delete statements in batches
Closes #325
2020-01-07 11:40:43 +01:00
Simon Binder a6e4a3669c
Fix null error when outlining a non-analyzed file 2020-01-06 20:01:41 +01:00
Simon Binder debf8b30f4
Report error when import can't be resolved 2020-01-06 19:57:44 +01:00
Dmytro Zaitsev fd97a91798
Fix code example for `Getting started with sql` doc 2020-01-05 21:45:47 +01:00
Simon Binder e9bd8a43aa
Merge branch 'master' into develop 2020-01-05 21:44:45 +01:00
Simon Binder 17a1a4f95c
Merge pull request #321 from DmitriyZaitsev/dz/fix-sql-example
Fix code example for `Getting started with sql` doc
2020-01-05 21:44:17 +01:00
Simon Binder b6b5e7f7c2
Fix analysis errors from deprecated engine constructor 2020-01-05 21:41:56 +01:00
Simon Binder 2f40e38484
Update relationships example to use extensions 2020-01-05 21:36:00 +01:00
Dmytro Zaitsev dcf7463c8c Fix code example for `Getting started with sql` doc 2020-01-05 22:16:07 +02:00
Simon Binder 70259c8f83
Build options to enable types2 inference 2020-01-04 22:29:21 +01:00
Simon Binder 523eabaa2a
Support LIKE expressions in the new type resolver 2020-01-04 21:36:06 +01:00
Simon Binder a8ffd0a7f3
Support LIMIT clauses in the new type resolver 2020-01-04 21:26:47 +01:00
Simon Binder 0cdfc9a4ab
website: Update documentation on batches (#318) 2020-01-04 21:04:33 +01:00
Simon Binder 681ed5fbd1
website: Update documentation on batches (#318) 2020-01-04 20:48:55 +01:00
Simon Binder 49d251f819
Support single quote escapes in sql (#317) 2020-01-04 17:32:55 +01:00
Simon Binder 144147795f
ci: Don't analyze moor_flutter, but analyze moor_ffi 2020-01-04 17:13:23 +01:00
Simon Binder 282af57c78
Report a parsing error for invalid queries in moor files
We used to return null when the query didn't start with SELECT, INSERT, UPDATE or DELETE, which causes errors later on. Now, we don't accept the query and report a parsing error.
2020-01-04 17:06:45 +01:00
Simon Binder c362e08e6e
types2: Respect variable hints from options 2020-01-04 16:55:34 +01:00
Simon Binder 92030c07a8
types2: Support inference for insert statements (#297) 2020-01-04 14:38:37 +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 a7300ee9a8
Merge pull request #315 from vitaminwater/patch-2
Missing `.path` in _openConnection
2020-01-03 20:49:26 +01:00
Simon Binder 4bfee82ea4
Merge pull request #314 from vitaminwater/patch-1
Missing 's' in build.yaml
2020-01-03 20:47:56 +01:00