Yaniv Shaked
13ca9d1b0a
Fix for reading blob
...
mapFromDatabaseResponse fixed for BlobType
2021-12-26 21:59:25 +02:00
Simon Binder
0bad799b82
Proper support for views in select streams
2021-12-25 20:30:16 +01:00
Simon Binder
98c21c13b3
Prepare to release 1.1.1
2021-12-23 17:38:49 +01:00
Peter Leibiger
f40f2d4189
Move serialization decision from server to client
2021-12-22 18:16:50 +01:00
Simon Binder
af1a8b5f81
Serialize messages by default ( #1590 , #1593 )
2021-12-20 22:17:26 +01:00
Simon Binder
41825e058e
Rollback if commit fails ( #1589 )
2021-12-19 19:45:20 +01:00
Simon Binder
c4e2600944
Merge branch 'master' into develop
2021-12-11 13:21:49 +01:00
Simon Binder
bf0dcfb693
Prepare drift 1.1 release
2021-12-11 13:17:37 +01:00
Simon Binder
1c128ea885
Don't serialize messages for isolates
2021-12-09 23:40:29 +01:00
Simon Binder
19bd92bfd9
Remove redundant imports
2021-12-09 14:10:51 +01:00
Simon Binder
34d0ed5db2
Remote: Run open on client that requested it
2021-12-07 14:35:30 +01:00
Simon Binder
44281bebaf
Support for STRICT tables in drift files
2021-12-03 22:11:44 +01:00
Simon Binder
28c14fc2e6
Fix flakiness in cancellation test
2021-12-02 23:00:31 +01:00
Simon Binder
18206c8510
Merge pull request #1541 from westito/views
...
Dsl views
2021-12-02 22:47:32 +01:00
westito
aa929690b7
Modify cancellation test
2021-12-02 20:27:44 +01:00
westito
4fe95bc01a
Fix view schema test
2021-12-02 20:24:46 +01:00
westito
fb08707872
Revert ViewInfo generic bound
2021-12-02 20:24:34 +01:00
Peter Leibiger
bd13d3bc75
Fix broken iterable comparison in sqlparser
...
* this results in false positive migration tests, not sure what else could be effected
2021-12-02 13:13:36 +01:00
Simon Binder
6dc198ecca
Improve error handling in LazyDatabase
2021-12-02 13:12:36 +01:00
Peter Leibiger
ab20d69846
Fix broken iterable comparison in sqlparser
...
* this results in false positive migration tests, not sure what else could be effected
2021-12-02 13:10:53 +01:00
westito
9e753e7837
Merge branch 'views' of github.com:westito/drift into views
2021-12-02 09:19:47 +01:00
westito
ffe24bb17a
Fix includeJoinedTableColumns and add test
2021-12-02 09:04:17 +01:00
westito
f383eef2ee
Remove drop view
2021-12-02 08:54:59 +01:00
Simon Binder
8f7788ae8f
More documentation
2021-12-01 17:09:56 +01:00
Simon Binder
5fcdbed46f
Add docs
2021-12-01 17:05:58 +01:00
westito
37de03085c
Modify cancellation switchMap test
2021-11-30 22:24:16 +01:00
westito
3e9a920a4f
Regenerate files
2021-11-30 22:23:35 +01:00
westito
02ff9b8cdc
Merge remote-tracking branch 'simolus3/develop' into views
2021-11-30 21:44:39 +01:00
westito
bda374ff7e
Add view schema test
2021-11-30 21:31:26 +01:00
westito
823e06494d
Add drop view to migration
2021-11-30 21:27:19 +01:00
westito
0e61940d70
add join useColumns option to selectOnly
2021-11-30 15:20:19 +01:00
westito
9e443dba2a
Revert table declaration class
2021-11-30 14:06:13 +01:00
Simon Binder
c737a74fdc
Add tests, changelog entry
2021-11-29 11:43:56 +01:00
hajjar20
2bc71000b3
Use 'FunctionCallExpression' to add random ordering function
2021-11-28 22:30:58 +02:00
westito
b5af3edf73
Remove unnecessary generics declaration
2021-11-28 19:29:17 +01:00
hajjar20
80ab98c2b6
fix whitespace in random ordering
2021-11-28 16:55:09 +02:00
hajjar20
009081d99b
Support random ordering
2021-11-28 15:43:42 +02:00
hajjar20
32f859c14c
Support random ordering
2021-11-28 15:23:07 +02:00
westito
810d9f03a5
Modify DSL view to accept expression instead of column
2021-11-27 18:22:04 +01:00
westito
a6bd75d780
fix post-merge issues
2021-11-26 14:15:54 +01:00
westito
ea78584793
Merge remote-tracking branch 'simolus3/develop' into views
2021-11-24 19:06:31 +01:00
Simon Binder
871f1e4198
Don't emit stale data for resuming subscriptions
2021-11-22 21:20:00 +01:00
westito
47f0465795
Make Join accept bare Table type
2021-11-16 09:04:43 +01:00
westito
876f6850f5
Add dsl view generator
2021-11-15 00:15:53 +01:00
Simon Binder
05a8b9abf1
Small additional test for precedence
2021-11-14 12:17:25 +01:00
westito
ea6dc02964
Refactor drift views
2021-11-13 12:27:07 +01:00
westito
649549a218
Add View DSL syntax
2021-11-12 22:20:50 +01:00
westito
70bcefdaf3
Rename View to ViewInfo
2021-11-12 19:38:45 +01:00
westito
fad654a5aa
PostgreSQL support ( #1507 )
...
Support PostgreSQL as a dialect in the main package and with an implementation provided in another package.
Co-authored-by: Simon Binder <oss@simonbinder.eu>
2021-11-11 14:40:41 +01:00
Simon Binder
3469bade62
Initial support for generated columns
2021-11-07 21:20:12 +01:00
Simon Binder
5f8b74c8df
Use iterable as parameter for batch methods
2021-11-03 11:01:15 +01:00
Simon Binder
9b273449c3
Support pauses in query streams ( #1510 )
2021-10-25 22:04:16 +02:00
Simon Binder
38a8ad136f
Merge pull request #1492 from westito/generate_tocompanion
...
Add 'toCompanion' generator for custom row classes
2021-10-20 23:39:18 +02:00
westito
40f4c1bd1f
Rewrite toCompanion to insertable
2021-10-20 16:58:27 +02:00
Simon Binder
6bcb0070b0
Write explicitly inxed variables in new code
2021-10-19 18:15:53 +02:00
westito
a5e4a7851e
Remove named function requirements, fix name matching, update test
2021-10-19 15:58:39 +02:00
westito
610acfad61
Apply suggestions from code review
...
Co-authored-by: Simon Binder <oss@simonbinder.eu>
2021-10-19 09:14:31 +02:00
westito
59ec14d060
Fix line length in comments
2021-10-18 15:43:15 +02:00
westito
b8fb002c41
Change toCompanion generator builder option to @UseRowClass parameter
2021-10-18 15:17:12 +02:00
Simon Binder
4eb430c42f
Support foreign key references in Dart tables
2021-10-17 12:21:32 +02:00
Simon Binder
fa8f30d427
Merge branch 'develop'
2021-10-12 17:12:49 +02:00
Ascênio Sanderson
b787281865
docs: fix typos
2021-10-12 11:14:01 -03:00
Simon Binder
61d0d17f26
Fix building the documentation
2021-10-12 15:14:12 +02:00
Simon Binder
c2bd6f27a5
Prepare a round of releases
2021-10-11 15:55:01 +02:00
Simon Binder
3b1da765f7
Undo unintentional change to plugin pubspec
2021-10-11 14:53:35 +02:00
Simon Binder
b3d6d6e4d1
Add example to drift
2021-10-11 14:22:35 +02:00
Simon Binder
bb5f08f90f
Also add plugin to drift
2021-10-11 10:25:50 +02:00
Simon Binder
331d600df3
Fix resolving Dart code in drift files
2021-10-10 22:01:59 +02:00
Simon Binder
348ac2e910
Add boilerplate files to new drift packages
2021-10-10 21:18:27 +02:00
Simon Binder
e91207e9e4
Start preparing the documentation for the new name
2021-10-09 21:43:30 +02:00
Simon Binder
0698c16009
Remove references to moor in pkg:drift
2021-10-09 20:08:42 +02:00
Simon Binder
994c606a39
Migrate off package:pedantic
2021-10-08 23:03:34 +02:00
Simon Binder
7358f545ac
Fix tests and generation in drift package
2021-10-08 22:40:58 +02:00
Simon Binder
2219a15e5f
Fix tests of main package, imports in dev
2021-10-08 21:51:01 +02:00
Simon Binder
fcbef06b7c
Move generator to drift_dev
2021-10-08 18:10:48 +02:00
Simon Binder
aa76f1529f
Rename elements with moor in them
2021-10-08 17:25:17 +02:00
Simon Binder
6877cf9673
Start writing simple migrate script
2021-10-07 22:55:54 +02:00
Simon Binder
fd0764594d
Replace moor impl with exports
2021-10-07 22:16:05 +02:00
Simon Binder
4687f3cda5
Add new drift package
2021-10-07 21:06:18 +02:00