Commit Graph

362 Commits

Author SHA1 Message Date
Martin Kamleithner e7f37f5e93 use .toString() instead of casting to String in StringType 2019-07-09 12:51:37 +02:00
Simon Binder aeb9b6ba41
Parse COLLATE expressions in the sql parser
For #67
2019-07-08 23:03:03 +02:00
Simon Binder 3f8fb97b6c
Provide Dart api for COLLATE expressions
For #67
2019-07-08 22:37:13 +02:00
Simon Binder 809f239ca3
Generate code for array variables in compiled statements 2019-07-07 16:04:55 +02:00
Simon Binder 08c5cfd1a8
Make the parameter for the transaction unnecessary 2019-07-07 13:03:15 +02:00
Simon Binder da65f6e8a7
Merge branch 'web' into develop 2019-07-06 15:30:07 +02:00
Simon Binder bebf6884c4
Document the web feature 2019-07-06 15:29:32 +02:00
Simon Binder 7d885f9298
Use local storage instead of indexeddb for versions 2019-07-06 11:00:26 +02:00
Simon Binder 97c068f0ba
Finish web prototype 2019-07-05 22:20:08 +02:00
Simon Binder 311a47c704
Create a real example for the web backend 2019-07-05 22:00:02 +02:00
Simon Binder c9d0b4f609
Continue experiments with cirrus 2019-07-05 19:32:01 +02:00
Simon Binder 3b09d819f9
Make date time values comparable
Fixes #58
2019-07-05 18:47:29 +02:00
Simon Binder 2de76c65ac
Use companion instead of data class in docs for inserts 2019-07-05 18:39:16 +02:00
Simon Binder 2a51a04cc8
Remove usage of ParsedLibraryResultImpl.tmp 2019-07-05 18:36:05 +02:00
Simon Binder c806a4a7b1
Delete custom test file again
We'll set up a proper testing architecture after the
migration to cirrus is complete
2019-07-05 11:07:33 +02:00
Simon Binder 734ea86c6d
Start migration to cirrus CI 2019-07-05 10:47:42 +02:00
Simon Binder 306be497de
Also run tests on popular browsers 2019-07-05 10:22:33 +02:00
Simon Binder 54fb22d970
Transactions for the web backend 2019-07-05 09:17:46 +02:00
Simon Binder 1c423d9d7b
Extract sql.js wrapper into own file, batched statement 2019-07-05 08:02:00 +02:00
Simon Binder 544db67d17
Return the last insert id in the web backend 2019-07-05 08:02:00 +02:00
Simon Binder 0e6ed25cd5
Persist changes in web backend 2019-07-05 08:02:00 +02:00
Simon Binder 535c5ed871
Switch web implementation to sql.js 2019-07-05 08:01:59 +02:00
Simon Binder 4ee7e84e8c
Early insert tests 2019-07-05 08:01:59 +02:00
Simon Binder 65ccd49d9a
Some kind of select statements with result parsing 2019-07-05 08:01:59 +02:00
Simon Binder e23e3ae424
First experiment on the web using AlaSLQ 2019-07-05 08:01:59 +02:00
Simon Binder d98449407e
Don't always include identical streams 2019-07-05 07:58:23 +02:00
Simon Binder 01db5e2afc
Release moor version 1.5.1, sqlparser 0.1.1 2019-07-03 20:04:09 +02:00
Simon Binder b9e9135ac3
Write "DEFAULT VALUES" in insert when appropriate 2019-07-02 22:42:49 +02:00
Simon Binder b0ca66bc06
Parse empty tuples
Closes #54
2019-07-02 22:30:54 +02:00
Simon Binder 1654193af4
Make parser assert it's at end after finishing 2019-07-02 22:21:20 +02:00
Simon Binder c5d46adcb5
Parse JOIN clauses without additional operators
Fixes #56
2019-07-02 22:07:30 +02:00
Simon Binder 59235783c3
Make query streams emit their last item for new listeners 2019-07-02 21:46:04 +02:00
Simon Binder 3024157ec9
Parse and analyze tuples, rework type resolution for `IN` 2019-07-02 14:38:28 +02:00
Simon Binder 285113717f
Parse tuples 2019-07-02 12:48:08 +02:00
Simon Binder 316f9e1052
Only resolve columns declared in scope of a statement
Fixes #52
2019-07-02 12:28:54 +02:00
Simon Binder 2487c64c08
RELEASE 1.5
- Analyzed custom queries
- Better callbacks
- Update companions
2019-07-01 22:24:38 +02:00
Simon Binder d15db1a199
Migrate example app to moor 1.5 2019-07-01 22:07:58 +02:00
Simon Binder 3dddc6993a
Remove outdated todo entries 2019-07-01 21:37:08 +02:00
Simon Binder a45d73a6cf
Update documentation, fix multiline parsing 2019-07-01 21:20:59 +02:00
Simon Binder b2f79e97e6
Update docs of sqlparser library 2019-07-01 15:04:17 +02:00
Simon Binder da07be2da4
Parse exists expressions 2019-07-01 14:27:08 +02:00
Simon Binder 3e910123d2
Resolve and infer types related to like expressions 2019-07-01 13:59:52 +02:00
Simon Binder 791afdb6bf
Support ESCAPE clause for LIKE and similar expressions 2019-07-01 13:52:46 +02:00
Simon Binder 44663d3648
Make `getSingle` and `watchSingle` return null when empty
Closes #47
2019-06-30 22:24:04 +02:00
Simon Binder 464754267e
Document new features for version 1.5 2019-06-30 22:16:58 +02:00
Simon Binder 9082236be8
Generate sitemap for documentation 2019-06-30 19:51:39 +02:00
Simon Binder f5492b8bcb
Generate code for update and delete statements 2019-06-30 19:34:54 +02:00
Simon Binder baf3c9ce88
Parse update statements 2019-06-30 15:25:39 +02:00
Simon Binder f8834f0e15
More fluent api to define queries 2019-06-30 13:35:13 +02:00
Simon Binder b4de942915
Write query engine override param for generated queries
This allows them to be used in transactions and post-
migration callbacks.
2019-06-30 13:09:07 +02:00