Simon Binder
8c1a62ae1b
Serialize and read uniqueKeys from schema ( #2069 )
2022-09-22 17:47:06 +02:00
Simon Binder
28c90b6ffb
Always escape column names
...
This avoids the performance impact of using a regex in `escapeIfNeeded`.
Closes #2071 .
2022-09-22 16:55:36 +02:00
Simon Binder
be61af5111
Add script to build a local sqlite3 library
...
This local library is then used in drift tests by default, making it
easier to run drift unit tests against the expected sqlite3 version.
2022-09-22 01:33:40 +02:00
Simon Binder
8a8d1fce80
Skip more datetime tests on older sqlite3 versions
2022-09-21 23:40:10 +02:00
Simon Binder
02b7d30403
Document special syntax in create table statements
2022-09-20 21:48:23 +02:00
Simon Binder
0fb9ba0a5c
Skip variable tests for postgres
2022-09-19 23:05:03 +02:00
Simon Binder
944725dafb
Generate null variables
2022-09-19 22:43:16 +02:00
Fabian Freund
cd89379627
Static analysis support for spellfix1 ( #2013 )
2022-09-16 16:02:39 +02:00
Simon Binder
87c58d0685
Cache dependencies, merge docs run into main CI
2022-09-16 01:14:51 +02:00
Simon Binder
8e9e7fc291
Use melos to manage packages ( #2060 )
2022-09-15 23:42:20 +02:00
Simon Binder
24316c80a6
Remove unecessary schema_version assignment
2022-09-13 22:01:00 +02:00
Simon Binder
68552501cc
Document enum columns for drift files ( #2045 )
2022-09-13 10:58:03 +02:00
Simon Binder
4da647e8a3
Ignore android_metadata table in schema comparison
2022-09-13 10:38:46 +02:00
Daniel Brauner
025bb7c44b
Generated functions for returning queries return Iterable<_> instead of List<_> ( #2044 )
...
* fix for missing toList
* removed unnecessary toList
2022-09-12 19:05:45 +02:00
Simon Binder
1681c83bea
Fix null analysis for Dart views ( #2031 )
2022-09-08 23:06:00 +02:00
Ayumi Sashitani
16f586f444
Fix typo in upgrading documentation ( #2037 )
...
Co-authored-by: Ayumi Sashitani <sashiiii.dev@gmail.com>
2022-09-07 14:45:30 +02:00
Simon Binder
eb7299c2d5
Stop mentioning `compact_query_methods` ( #2036 )
2022-09-05 13:54:47 +02:00
Simon Binder
161b99d8d5
Re-enable `public_member_api_docs` lint
2022-09-01 18:57:36 +02:00
Simon Binder
009056dc37
Handle equality and hashes for blobs
2022-09-01 18:11:41 +02:00
Simon Binder
04c3dbf1b5
Fix triggers in example app
2022-08-31 11:58:25 +02:00
Simon Binder
ee66465d47
Avoid leading underscores for local identifiers
2022-08-31 00:59:19 +02:00
Simon Binder
e8229261e0
Disable locking for `NativeDatabase`
...
Since the database is synchronous internally, this just adds unnecessary
overhead.
2022-08-31 00:17:33 +02:00
Simon Binder
ce35a27069
Prepare 2.1.0 release
2022-08-29 22:27:35 +02:00
Simon Binder
80f8546122
Add tests for null sorting on asc/desc factories
2022-08-29 22:13:04 +02:00
Konstantin Scheglov
b399db78e3
Prepare for separating ClassElement, EnumElement, and MixinElement. ( #2025 )
...
* Prepare for separating ClassElement, EnumElement, and MixinElement.
* Improve error UX when casting to ClassElement
Co-authored-by: Simon Binder <oss@simonbinder.eu>
2022-08-29 20:44:09 +02:00
Simon Binder
98cb4be7cc
Merge pull request #2024 from Vorkytaka/order_by_nulls
...
Add `NULLS FIRST\LAST` to the `OrderingTerm`
2022-08-28 22:05:06 +02:00
Vorkytaka
a4bff1f9ef
Rename `nullsOrder` to `nulls`, move sql strings to enums, add `nulls` argument to the factory methods
2022-08-28 20:20:55 +03:00
Vorkytaka
8cb029a73e
Add `NULLS FIRST\LAST` to the `OrderingTerm`
2022-08-28 15:19:44 +03:00
Simon Binder
c7a4a8cdec
Merge pull request #2023 from daniel-hopkins/patch-1
...
Update existing_databases.md
2022-08-27 23:33:53 +02:00
Simon Binder
3a4b3002d2
Format docs snippets
2022-08-27 21:44:42 +02:00
Simon Binder
f0a58a6bd1
Improve clarity on getting started files ( #2022 )
2022-08-27 21:39:27 +02:00
daniel-hopkins
c59c4eb574
Update existing_databases.md
...
the line `final file = File(p.join(dbFo …` needs `path/path.dart` imported as `p`
2022-08-27 14:28:16 -04:00
Simon Binder
ca6758d8b1
Refresh documentation page on examples
2022-08-27 20:26:43 +02:00
Simon Binder
3426fb5408
Improve stack trace for single transformer ( #2020 )
2022-08-27 00:05:27 +02:00
Simon Binder
678893241e
Update docs on joins
2022-08-27 00:05:27 +02:00
Simon Binder
8431bc928f
Merge pull request #2017 from FaFre/fts5content
...
Expose fts5 rowid
2022-08-25 21:30:02 +02:00
Simon Binder
76a8a6d35d
Remove unintended override in encryption app
2022-08-25 21:21:21 +02:00
Simon Binder
633b2ec359
Remove unused file, link to encryption sample
2022-08-25 21:20:31 +02:00
Simon Binder
053206806f
Add encryption example
2022-08-25 21:17:08 +02:00
Simon Binder
3583c4b467
Encrypted drift: Add path to main dependencies
2022-08-25 21:17:07 +02:00
Fabian Freund
d5fac6da07
clean fts option strings; rowid fallback;
2022-08-25 20:38:14 +03:00
Simon Binder
b87e5cae0c
Drift-specific analysis for fts5 tables
2022-08-25 18:50:24 +02:00
Simon Binder
8d540b47f5
Hide fts5 rowid, make table type public
2022-08-25 18:13:06 +02:00
Fabian Freund
986f7d24a5
expose rowid when ft5 with content table
2022-08-25 17:21:05 +03:00
Simon Binder
7e807dcff8
Merge pull request #2014 from FaFre/rtree
...
Added rtree support
2022-08-25 00:33:28 +02:00
Fabian Freund
72dc6707ee
test argument validation
2022-08-24 17:35:51 +03:00
Simon Binder
add52f2aaf
Add changelog entry and documentation
2022-08-24 09:23:31 +02:00
Fabian Freund
135433a692
Merge branch 'simolus3:develop' into rtree
2022-08-23 16:40:53 +03:00
Fabian Freund
fe426e68b9
fixed typo
2022-08-23 16:35:14 +03:00
Fabian Freund
d1e623a0c6
added rtree support
2022-08-23 16:33:23 +03:00