47 Commits
Author SHA1 Message Date
Simon Binder 0978a266e6 sqlparser: Support jsonb_each and jsonb_tree 2025-11-04 23:15:36 +01:00
Simon Binder 5724986a9e Support PowerSync extension when analyzing SQL 2025-10-07 18:07:19 +02:00
Simon Binder 66fe2ddc96 Migrate to workspace 2025-08-17 16:11:07 +02:00
Simon Binder 74ce70590c sqlparser: Support sqlite 3.48 2025-01-21 22:56:04 +01:00
Simon Binder 71850de641 sqlparser: Support sqlite 3.48 2025-01-21 22:48:13 +01:00
Simon Binder 2cd568aea6 Fix infering result type of fts5 functions 2024-10-18 21:43:39 +02:00
Simon Binder f692bb1bbb Fix bm25 parameter count lint
Closes https://github.com/simolus3/drift/discussions/3292
2024-10-17 21:50:48 +02:00
Simon Binder aafb9600be Include tokenizer errors in result instead of throwing
Closes https://github.com/simolus3/drift/issues/3218
2024-09-13 21:19:47 +02:00
Simon Binder 06ec4a1866 Add support for sqlite 3.36.1 2024-05-23 21:26:13 +02:00
Nikita Dauhashei 15001364c2 add geopoly support 2024-04-10 18:31:44 +02:00
Simon Binder 2bc01adeaa Support table function syntax for virtual tables
Closes #2877
2024-02-03 18:28:23 +01:00
Simon Binder b6fbfdbab9 sqlparser support for jsonb 2024-01-17 22:39:55 +01:00
Simon Binder 849f245f53 Warn about invalid custom foreign key constraint 2023-03-13 22:30:14 +01:00
Simon Binder bc325dd31c Support cast to drift-specific types 2023-01-06 15:10:03 +01:00
Simon Binder 6e173e8c08 Don't require tokens for some AST classes 2022-12-30 20:46:18 +01:00
Simon Binder b6cff50135 Parse custom constraints applied to columns 2022-12-11 00:06:45 +01:00
Fabian Freund cd89379627 Static analysis support for spellfix1 (#2013) 2022-09-16 16:02:39 +02:00
Fabian Freund d5fac6da07 clean fts option strings; rowid fallback; 2022-08-25 20:38:14 +03: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
Fabian Freund 72dc6707ee test argument validation 2022-08-24 17:35:51 +03:00
Fabian Freund 135433a692 Merge branch 'simolus3:develop' into rtree 2022-08-23 16:40:53 +03:00
Fabian Freund d1e623a0c6 added rtree support 2022-08-23 16:33:23 +03:00
Fabian Freund 3848dd528e added tests for fts5vocab module 2022-08-22 17:32:57 +03:00
Simon Binder 93d328f056 Rename moor to drift in sqlparser 2022-02-26 21:38:28 +01:00
Simon Binder f42357c1d9 Fix error message in fts5 functions 2021-09-11 16:53:32 +02:00
Simon Binder cc6d553fa6 Format with Dart 2.14 2021-09-09 17:07:41 +02:00
Simon Binder 3cf3be27ae sqlparser: Support the built-in math extension 2021-03-13 14:37:44 +01:00
Simon Binder 68b3d7d634 Add sqlite version argument to engine 2021-03-13 13:25:16 +01:00
Simon Binder 725cad3651 Fix types of the rank column (#1066) 2021-02-25 20:29:57 +01:00
Simon Binder 9025280a89 Migrate sqlparser to null safety 2020-12-11 10:53:17 +01:00
Simon Binder ccea0a5d36 Don't throw parsing errors for top-level statements 2020-06-24 17:08:13 +02:00
Simon Binder 8b6abd7140 Move referenced table finder to sqlparser package (#537) 2020-05-04 22:00:41 +02:00
Simon Binder 9a78604d98 Fix issues with new inference, enable it by default 2020-04-16 19:07:30 +02:00
Simon Binder 814e7bf61d SqlEngine: Migrate default construtor to options 2020-02-10 18:48:03 +01:00
Simon Binder 71ef9b8cd7 Support table-valued json1 functions 2020-01-26 14:42:52 +01:00
Simon Binder c8a155a44b Autocomplete table names in sqlparser 2020-01-18 21:41:36 +01:00
Simon Binder b04ebc9e8c Utils to make testing autocomplete easier 2020-01-18 20:51:09 +01:00
Simon Binder a3708b7230 Remove deprecated usages of SqlEngine constructor 2020-01-07 11:40:43 +01:00
Simon Binder ba603f22cc Merge branch 'develop' into views-triggers-indexes
# Conflicts:
#	moor/lib/moor.dart
#	moor/lib/src/runtime/api/query_engine.dart
#	moor/lib/src/runtime/query_builder/schema/entities.dart
#	moor/test/data/tables/custom_tables.g.dart
#	moor/test/data/tables/tables.moor
#	moor/test/parsed_sql/moor_files_integration_test.dart
#	moor_generator/lib/src/analyzer/moor/parser.dart
#	moor_generator/lib/src/analyzer/runner/steps.dart
#	moor_generator/lib/src/analyzer/runner/steps/analyze_dart.dart
#	moor_generator/lib/src/model/specified_db_classes.dart
#	moor_generator/lib/src/writer/database_writer.dart
#	sqlparser/lib/src/ast/ast.dart
#	sqlparser/lib/src/ast/statements/create_table.dart
#	sqlparser/lib/src/ast/statements/statement.dart
#	sqlparser/lib/src/reader/parser/schema.dart
#	sqlparser/lib/src/reader/tokenizer/token.dart
#	sqlparser/test/engine/autocomplete/static_test.dart
2019-12-30 21:08:32 +01:00
Simon Binder c9f29fab5b Support detailed analysis for fts5 functions 2019-12-13 22:30:36 +01:00
Simon Binder 3c74a20f56 Enable more recent lints and enforce them 2019-12-04 21:45:09 +01:00
Simon Binder f4c05f44c7 sqlparser: Read table schemas for fts5 tables 2019-12-04 19:55:23 +01:00
Simon Binder 325820af80 Parse CREATE VIRTUAL TABLE statements 2019-12-04 15:36:23 +01:00
Simon Binder e553d37de6 Fix autocomplete tests 2019-10-21 17:27:38 +02:00
Simon Binder 1b7721a98f Plugin: Import assists for column nullability 2019-09-08 21:36:26 +02:00
Simon Binder a62c076c4c Suggest CREATE TABLE statements in moor files 2019-09-07 22:49:23 +02:00