Commit Graph

3623 Commits

Author SHA1 Message Date
Simon Binder f0e5ed9a87
Make tables implement equals and hashCode
Fixes #74
2019-07-11 22:02:46 +02:00
Simon Binder 256b91f03f
Emit cached data in a later microtask 2019-07-11 21:09:13 +02:00
Simon Binder 0e7ee6114b
Avoid writing duplicate mapping methods 2019-07-10 19:37:15 +02:00
Simon Binder 853e3acb4c
Migrate web example to moor 1.6 2019-07-10 19:22:55 +02:00
Simon Binder 91c455d077
Fix (and then, use) the binary encoding to persist data 2019-07-10 19:14:55 +02:00
Simon Binder 02a8dabd63
Fix crash when variables appear more than once 2019-07-10 18:25:18 +02:00
Simon Binder df05e643e0
Migrate example to 1.6, update readme 2019-07-10 17:55:57 +02:00
Simon Binder d01b5c750f
Fix order in limit expressions with comma
Fixes #73
2019-07-10 17:29:03 +02:00
Simon Binder 6c70c947a1
Make the moor test script executable 2019-07-10 17:29:03 +02:00
Simon Binder a96da09741
Merge pull request #70 from knaeckeKami/master
use .toString() instead of casting to String in StringType
2019-07-09 13:31:48 +02:00
Martin Kamleithner 0137b34d07 allow nullability in StringType 2019-07-09 13:23:28 +02:00
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