surrealpatch/sql
Tobie Morgan Hitchcock 0402d74708 Remove AND EXPUNGE clause from DELETE expression
When deleting records, it now removes and expunges document versions based on the table definition `DEFINE TABLE test VERSIONED` or `DEFINE TABLE test UNVERSIONED`, as opposed to the query being run. This prevents non-administrators from removing historic document data.
2018-12-31 07:46:44 +01:00
..
ast.gen.go Remove AND EXPUNGE clause from DELETE expression 2018-12-31 07:46:44 +01:00
ast.go Remove AND EXPUNGE clause from DELETE expression 2018-12-31 07:46:44 +01:00
auth.gen.go Full update of the SQL package 2017-11-16 20:53:13 +00:00
auth.gen.go.tmpl Implement Authable statements for improved logging 2017-03-24 21:25:22 +00:00
auth.gen.json Full update of the SQL package 2017-11-16 20:53:13 +00:00
auth_test.go Full update of the SQL package 2017-11-16 20:53:13 +00:00
check.go Simplify and improve internal SQL AST structures 2018-08-20 00:21:35 +01:00
cork.go Remove AND EXPUNGE clause from DELETE expression 2018-12-31 07:46:44 +01:00
create.go Implement PARALLEL keyword on queries 2018-07-17 09:35:36 +01:00
data.go No need to pass sql.parser into sql.scanner 2018-01-10 13:07:09 +00:00
database.go Improve statement read/write status detection 2017-11-24 12:56:53 +00:00
define.go Full update of the SQL package 2017-11-16 20:53:13 +00:00
delete.go Remove AND EXPUNGE clause from DELETE expression 2018-12-31 07:46:44 +01:00
echo.go Full update of the SQL package 2017-11-16 20:53:13 +00:00
error.go Full update of the SQL package 2017-11-16 20:53:13 +00:00
event.go Enable multiple expressions with database events 2018-04-04 19:20:07 +01:00
exprs.go Implement PARALLEL keyword on queries 2018-07-17 09:35:36 +01:00
field.go Allow proper field names when removing a field 2018-04-27 00:46:36 +01:00
funcs.go Simplify built-in database field types 2018-10-18 00:39:09 +01:00
gen.go Full update of the SQL package 2017-11-16 20:53:13 +00:00
if.go Full update of the SQL package 2017-11-16 20:53:13 +00:00
index.go Improve statement read/write status detection 2017-11-24 12:56:53 +00:00
info.go Improve SQL INFO command 2018-10-24 11:29:43 +01:00
insert.go Implement PARALLEL keyword on queries 2018-07-17 09:35:36 +01:00
kill.gen.go Full update of the SQL package 2017-11-16 20:53:13 +00:00
kill.gen.go.tmpl Full update of the SQL package 2017-11-16 20:53:13 +00:00
kill.gen.json Full update of the SQL package 2017-11-16 20:53:13 +00:00
kill_test.go Full update of the SQL package 2017-11-16 20:53:13 +00:00
let.go LET and RETURN should not need SC level permissions 2018-02-12 15:38:34 +00:00
live.go Add FETCH expressions to LIVE SELECT queries 2018-04-24 23:59:49 +01:00
login.go Support exporting SQL LOGIN and SQL TOKEN hashes 2018-10-18 01:36:36 +01:00
namespace.go Improve statement read/write status detection 2017-11-24 12:56:53 +00:00
options.go Full update of the SQL package 2017-11-16 20:53:13 +00:00
parser.go Remove google and syslog logging 2018-04-05 08:51:44 +01:00
perms.go No need to pass sql.parser into sql.scanner 2018-01-10 13:07:09 +00:00
rdwr.gen.go Improve statement read/write status detection 2017-11-24 12:56:53 +00:00
rdwr.gen.go.tmpl Improve statement read/write status detection 2017-11-24 12:56:53 +00:00
rdwr.gen.json Improve statement read/write status detection 2017-11-24 12:56:53 +00:00
rdwr_test.go Improve statement read/write status detection 2017-11-24 12:56:53 +00:00
relate.go Implement PARALLEL keyword on queries 2018-07-17 09:35:36 +01:00
remove.go Full update of the SQL package 2017-11-16 20:53:13 +00:00
return.go LET and RETURN should not need SC level permissions 2018-02-12 15:38:34 +00:00
run.go Add SQL RUN query statement type 2018-04-14 17:55:05 +01:00
scanner.go Ensure full duration values are parsed correctly 2018-08-20 07:32:21 +01:00
scope.go Add ON SIGNUP and ON SIGNIN events to SQL SCOPE 2018-03-18 21:30:02 +00:00
select.go Add GROUP BY ALL to SQL SELECT queries 2018-10-24 12:25:07 +01:00
sql.go Simplify built-in database field types 2018-10-18 00:39:09 +01:00
sql_test.go Remove AND EXPUNGE clause from DELETE expression 2018-12-31 07:46:44 +01:00
string.go Remove AND EXPUNGE clause from DELETE expression 2018-12-31 07:46:44 +01:00
table.go Add support for table versioning 2018-08-20 07:52:13 +01:00
token.go Complete functionality to define scope tokens 2018-09-13 17:34:27 +01:00
tokens.go Improve SQL INFO command 2018-10-24 11:29:43 +01:00
trans.go Full update of the SQL package 2017-11-16 20:53:13 +00:00
update.go Implement PARALLEL keyword on queries 2018-07-17 09:35:36 +01:00
upsert.go Implement PARALLEL keyword on queries 2018-07-17 09:35:36 +01:00
use.go No need to pass sql.parser into sql.scanner 2018-01-10 13:07:09 +00:00
util.go Simplify and improve internal SQL AST structures 2018-08-20 00:21:35 +01:00