Commit Graph

2443 Commits

Author SHA1 Message Date
westito c584b5ccfd Fix failed analyze and test codes 2022-04-02 20:12:57 +02:00
westito ec53328e49 Fix unique constraint tests 2022-04-02 20:12:13 +02:00
westito 171cf88aac Regenerate all test code 2022-04-02 20:11:40 +02:00
westito 4713dd1a68 Add forgotten code change to table writer 2022-04-02 20:10:48 +02:00
westito 0cf71b9477 Add unqiue constraints test 2022-04-02 20:09:04 +02:00
Simon Binder 9c31a17926
Add docs on `WasmDatabase` 2022-04-02 20:02:37 +02:00
Simon Binder 87848e58dd
Delete example app from drift_sqflite 2022-04-02 19:42:06 +02:00
Simon Binder 7a243fe0bf
Remove unintended dependency override 2022-04-02 19:35:55 +02:00
Simon Binder 1f8e850f7c
Add wasm library to changelog 2022-04-02 19:10:41 +02:00
Simon Binder 7c2d95fb30
Use experimental wasm backend in new example 2022-04-02 19:08:33 +02:00
Simon Binder 49b215facd
Add experimental wasm backend 2022-04-02 18:04:52 +02:00
Simon Binder 1a2406ddc1
Add new cross-platform Flutter example 2022-04-02 18:01:10 +02:00
Simon Binder 3f7eaa459a
Fix postgres test path in misc integration tests 2022-04-01 23:57:38 +02:00
Simon Binder e4671d40f7
Update flutter web worker example too 2022-04-01 23:48:15 +02:00
Simon Binder 6e79a5b58c
Use `package:js` to wrap sql.js library 2022-04-01 23:42:52 +02:00
Simon Binder fc0d30583a
Some maintenance work on examples 2022-04-01 22:39:28 +02:00
Simon Binder 204fbad682
Move examples into top-level folder 2022-04-01 22:11:21 +02:00
Simon Binder 26c3dbfb48
Update docs on supported platforms 2022-04-01 22:02:38 +02:00
westito 8c8272b579 Change Column to GeneratedColumn in TableInfo uniqueKeys 2022-03-31 12:51:20 +02:00
Simon Binder 221ca2382f
Fix type argument in `Batch.insert` (#1781) 2022-03-30 18:47:52 +02:00
Simon Binder 8e3259c971
Ignore all lints in generated code 2022-03-30 09:59:41 +02:00
Simon Binder a1c2ff893c
Fix typo in `clientDefault` dart docs 2022-03-29 22:01:40 +02:00
westito 13d1ae0304 Make uniqueKey handle multiple keys 2022-03-28 16:29:01 +02:00
westito 27192f11c4
Fix null aware type converter data class field suffix (#1775) 2022-03-28 00:05:15 +02:00
westito 5d4c5dea70 Add uniqueKey to table definition 2022-03-22 17:00:27 +01:00
westito 51d2328998 Add unique() to column builder 2022-03-22 15:21:37 +01:00
Simon Binder fcc7e42d23
Link to platforms page from getting started 2022-03-20 12:39:22 +01:00
Tomaž Marhat c0bd703122
fix: wrap element name inside ReCase (#1762) 2022-03-20 11:36:06 +01:00
Simon Binder 231c270fb1
Prepare 1.5.2 release of `drift_dev` 2022-03-15 19:41:45 +01:00
Simon Binder a3769a4b65
Fix doc reference 2022-03-15 17:00:22 +01:00
Simon Binder 5a2b6a36cc
Fix crash when reading type converters (#1757) 2022-03-15 16:51:30 +01:00
Simon Binder f3b945564f
First release of `drift_sqflite` 2022-03-14 21:51:43 +01:00
Simon Binder ece91869f6
Fix analysis warnings in `drift_sqflite` example 2022-03-14 21:39:16 +01:00
Simon Binder fb64c7404f
Replace moor references in drift_sqflite 2022-03-14 21:35:43 +01:00
Simon Binder 4669b0b964
Add rename notice to `moor_flutter` 2022-03-14 21:30:43 +01:00
Simon Binder 35d5ff35c8
Prepare minor `drift_dev` release 2022-03-14 21:27:36 +01:00
Simon Binder c80d37e9d9
Add example to `drift_sqflite` 2022-03-14 21:26:20 +01:00
Simon Binder a60a795c66
Auto-migrate usages of `moor_flutter` 2022-03-14 21:04:04 +01:00
Simon Binder bc5295492d
Add `drift_sqflite` to replace `moor_flutter` 2022-03-14 20:27:19 +01:00
Simon Binder b0ab9ba777
Override `toString()` in `DriftRemoteException` 2022-03-14 15:35:35 +01:00
Simon Binder c6edcdf3e8
Prepare drift 1.5.0 release 2022-03-13 15:54:45 +01:00
Simon Binder da212944ff
Replace old website and repository links 2022-03-13 15:52:15 +01:00
Simon Binder 75c0423b42
More moor -> drift renaming in `sqlparser` 2022-03-13 15:46:24 +01:00
westito 05abe4de4c
Add cascaded expression support to DSL view parser (#1751)
* Add cascaded expression support to DSL view parser

* Fix view sample query
2022-03-13 00:47:02 +01:00
YeungKC 7199e6bca6
MultiExecutor support multi read executor (#1749)
Support multipe reading executor in a load-balancing `MultiExceutor`.
2022-03-12 15:08:57 +01:00
Simon Binder 510aff3a60
Fix memory leak with new error handling 2022-03-11 17:02:47 +01:00
Simon Binder 7b5c335937
Better stack traces across drift remotes (#1750) 2022-03-11 16:54:43 +01:00
Simon Binder 64c50837f9
Note that native libs don't work in simple tests 2022-03-10 20:08:45 +01:00
YeungKC 79aedea60e
Determine schema version. (#1743)
Avoid an unnecessary write to the database when no migration is needed.
2022-03-10 14:36:02 +01:00
Simon Binder b25921a362
Write column getter into schema file (#1739) 2022-03-09 23:02:52 +01:00