Tobie Morgan Hitchcock
e9ee5245c2
Code cleanup ( #2569 )
2023-09-01 15:36:54 +01:00
Tobie Morgan Hitchcock
1fd6d991ae
Implement DEFAULT
value clause on DEFINE FIELD
statements ( #2468 )
2023-08-20 03:53:50 +01:00
Salvador Girones Gil
998b263517
[iam] RBAC and multiple root users ( #2176 )
...
Co-authored-by: Przemyslaw Hugh Kaznowski <hughkaznowski@protonmail.com>
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2023-07-29 18:47:25 +00:00
Emmanuel Keller
e9eeb9aca7
QueryPlanner / indexing / Context / Cursor doc ( #2229 )
2023-07-06 14:57:42 +00:00
Tobie Morgan Hitchcock
4b690c763b
Improve datastore configuration options ( #2227 )
2023-07-05 21:26:13 +00:00
Emmanuel Keller
8e64750a60
Feature - Search highlighting ( #2132 )
2023-06-21 19:31:15 +01:00
Emmanuel Keller
668d3fd8fb
Introduce query planner and indexing ( #1899 )
2023-06-19 19:41:13 +01:00
Tobie Morgan Hitchcock
f5f10d508f
Improve type casting support ( #2083 )
...
Co-authored-by: Finn Bear <finnbearlabs@gmail.com>
2023-06-06 06:12:59 +00:00
Tobie Morgan Hitchcock
bfbadc6fdd
Ensure user $input
is accessible with all Data
pattern types ( #1945 )
2023-05-07 13:33:32 +01:00
Tobie Morgan Hitchcock
f0e5753cd1
Use static str where possible for context param names ( #1942 )
2023-05-06 21:49:34 +01:00
Tobie Morgan Hitchcock
66b105dac0
Add support for stricter typings ( #1861 )
...
Co-authored-by: Rushmore Mushambi <rushmore@surrealdb.com>
2023-04-25 11:13:04 +01:00
Tobie Morgan Hitchcock
78329abf97
Enable access to input data using $input
variable
...
Closes #1543
2023-03-31 20:00:21 +01:00
Tobie Morgan Hitchcock
1e93c0f304
Ensure permissions are not chekced on PERMISSIONS clauses
...
Closes #1633
2023-02-12 11:48:11 +00:00
Tobie Morgan Hitchcock
fde0c55d34
Improve error logging for field and index errors
...
Closes #113
2022-09-10 05:59:08 +01:00
Tobie Morgan Hitchcock
c97fd62d70
Don’t cast NONE or NULL values to a fields data type
...
Closes #73
2022-09-01 01:34:31 +01:00
Tobie Morgan Hitchcock
56d3b0e861
Fix bug where records couldn’t be updated after defining an index
...
Closes #57
2022-08-25 14:50:11 +01:00
Tobie Morgan Hitchcock
c8cba2c64d
Remove VOID type
2022-07-28 21:54:59 +01:00
Tobie Morgan Hitchcock
078d3d4868
Ensure field values are set even if the field is not specified
2022-07-28 09:42:04 +01:00
Tobie Morgan Hitchcock
34ba79428c
Ensure correct permissions are used on each query
2022-06-28 11:54:04 +01:00
Tobie Morgan Hitchcock
1017e2fffb
Don’t clone variables when processing sub-contexts
...
Closes SUR-53
When creating a new context for subqueries or statement clauses, we used to have to clone any variables/values, and freeze the context, so that it could be used across threads and async boundaries.
Now with the new executor pattern for parallel queries, we can pass references instead, improving performance by removing unnecessary cloning of values.
2022-05-14 13:38:17 +01:00
Tobie Morgan Hitchcock
6ff2a78c88
Don’t use static futures for parallel query execution
...
Instead of using static futures when processing a query in parallel, we now use a new executor model, which allows us to process futures which make use of references. As a result, we can remove the need to store each statement in an Arc.
2022-05-13 21:57:40 +01:00
Tobie Morgan Hitchcock
1e2ba72e37
Reduce mem size of Error enum types
2022-05-06 23:09:08 +01:00
Tobie Morgan Hitchcock
a41e52098b
Improve performance of internal value conversion
2022-04-07 15:44:55 +01:00
Tobie Morgan Hitchcock
27a01bec08
Improve performance of embedded field path creation
2022-04-07 15:33:57 +01:00
Tobie Morgan Hitchcock
6b6d4f65f9
Process document fields correctly
2022-04-07 11:21:18 +01:00
Tobie Morgan Hitchcock
2a0c8ddb4a
Move duplicate code into dedicated functions
2022-04-07 08:35:39 +01:00
Tobie Morgan Hitchcock
2b89702490
Improve code comments
2022-04-06 20:15:56 +01:00
Tobie Morgan Hitchcock
aab4d0b096
Implement FIELD TYPE / VALUE / ASSERT clauses
2022-04-06 00:09:23 +01:00