Commit graph

29 commits

Author SHA1 Message Date
Raphael Darley
5bf82abd7c
bugfix: fix DEFINE .. TYPE parsing in parser 2 (#3765) 2024-03-26 10:44:29 +00:00
Mees Delzenne
1528da9b95
Implement limits for parsing depth in the new parser. (#3762) 2024-03-25 19:14:17 +00:00
Mees Delzenne
567832825a
Implement reblessive into the parser to prevent any overflows. (#3591) 2024-03-22 20:50:11 +00:00
Raphael Darley
ce8e2d4578
bugfix: Enforce TYPE RELATION (#3732) 2024-03-21 10:59:08 +00:00
Przemyslaw Hugh Kaznowski
8b13546327
Make Change Feeds record patch values optionally (#3552)
Co-authored-by: Mees Delzenne <DelSkayn@users.noreply.github.com>
2024-03-20 10:09:04 +00:00
Raphael Darley
50125cb2b7
Add DEFINE TABLE ... RELATION (#3710)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-03-19 11:20:58 +00:00
Rushmore Mushambi
948b9640fb
Drop the sql::v1 module from the core library (#3683) 2024-03-15 14:37:27 +00:00
Rushmore Mushambi
f93f4999ed
Refactor Cargo features to use separate core library versions (#3688)
Co-authored-by: Mees Delzenne <mees.delzenne@gmail.com>
2024-03-15 11:21:32 +00:00
Mees Delzenne
3c92765fad
Fix export generating unparsable code with the new parser (#3351) 2024-03-12 15:43:56 +00:00
Przemyslaw Hugh Kaznowski
2fe398f5b4
Baseline for KILL, realising other PRs need to land (#3600) 2024-03-12 13:01:23 +00:00
Mees Delzenne
87da9c0b01
Fix warnings (#3634) 2024-03-08 10:58:07 +00:00
Emmanuel Keller
1784a1202e
Check that objects properties are recognized by the query planner (#3643) 2024-03-07 16:45:05 +00:00
Micha de Vries
e637a538d2
Implement IF NOT EXISTS-clause on DEFINE-statements (#3584) 2024-03-06 13:24:24 +00:00
Micha de Vries
50b4b07b38
Implement IF EXISTS for additional REMOVE-statements (#3377)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
Co-authored-by: Rushmore Mushambi <rushmore@surrealdb.com>
2024-03-05 19:28:38 +00:00
Mees Delzenne
0e2f83ed9d
Make handling of negative numbers in record-id-ids more consistent. (#3633) 2024-03-05 18:43:04 +00:00
Mees Delzenne
807b4681fa
Change KNN operator syntax. (#3617)
Co-authored-by: Emmanuel Keller <emmanuel.keller@surrealdb.com>
2024-03-05 16:01:17 +00:00
Mees Delzenne
654443c9c1
Allow scientific notation decimal (#3625) 2024-03-04 15:04:08 +00:00
Przemyslaw Hugh Kaznowski
2914641827
Fix linting issues in main February 2024 (#3595) 2024-03-01 12:51:32 +00:00
Emmanuel Keller
a182908fde
Tooling: Test checking file based database migration (#3558) 2024-03-01 08:29:42 +00:00
Przemyslaw Hugh Kaznowski
99600d50ba
Add syntax for change feeds to store original value alongside change (#3567)
Co-authored-by: Mees Delzenne <DelSkayn@users.noreply.github.com>
2024-02-28 19:35:39 +00:00
Mees Delzenne
1e5bd504b2
Feature: some more error message improvements for the new parser. (#3416) 2024-02-19 15:07:39 +00:00
Rushmore Mushambi
41a7c16338
Fix clippy warnings (#3529) 2024-02-16 17:09:55 +00:00
Mees Delzenne
bbd5268e71
Bugfix: fix a panic in span rendering (#3527) 2024-02-16 17:05:24 +00:00
Mees Delzenne
6469b653cd
Bugfix: Fix MATH::SQRT_2 not parsing (#3514) 2024-02-16 10:17:22 +00:00
Mees Delzenne
9a88d5f011
Bugfix: Fix builtin error pointing to the wrong part (#3467) 2024-02-12 11:16:38 +00:00
Rushmore Mushambi
7d49521c70
Fix the modulo operator on sql2 and parser1 (#3477) 2024-02-11 16:27:07 +00:00
Mees Delzenne
0615200767
Bugfix: Fix json failing to parse with trailing whitespace (#3427) 2024-02-05 16:59:45 +00:00
Rushmore Mushambi
2ee33e7bdb
Revert breaking changes from sql1 (#3433) 2024-02-05 16:21:23 +00:00
Rushmore Mushambi
690dd55a86
Extract core lib into a standalone crate (#3423)
Co-authored-by: Gerard Guillemas Martos <gerard.guillemas@surrealdb.com>
2024-02-02 22:10:47 +00:00