surrealpatch/sql
Tobie Morgan Hitchcock e4bef0c4b7 Differentiate between IDENT and EXPR in SQL
Previously it was possible to CREATE/UPDATE/DELETE path expressions as this would satisfy an IDENT in the SQL parser.

Now however, there is a difference between an IDENT and an EXPR…

IDENT: person | person_main | person123
EXPR: person | person.path | person[0].path

As a result, path expressions are only possible when setting data or setting conditional conditions.
2017-02-24 13:05:07 +00:00
..
ast.go Remove RETURN statement from SELECT query 2017-02-20 01:44:12 +00:00
cork.go Remove RETURN statement from SELECT query 2017-02-20 01:44:12 +00:00
create.go Enforce default RETURN value in sql parser 2017-02-20 01:44:12 +00:00
data.go JSON Patch expects only array in SQL, not object 2017-02-20 01:44:11 +00:00
database.go Fix SQL bug where NAMESPACE/DATABASE were needed twice 2017-02-09 10:31:53 +00:00
define.go Enable use of SQL DEFINE/REMOVE in transactions 2017-02-20 01:44:11 +00:00
delete.go Enforce default RETURN value in sql parser 2017-02-20 01:44:12 +00:00
echo.go Enforce default RETURN value in sql parser 2017-02-20 01:44:12 +00:00
error.go Improve errors throught codebase 2017-02-20 01:44:13 +00:00
exprs.go Differentiate between IDENT and EXPR in SQL 2017-02-24 13:05:07 +00:00
field.go Add PERMISSIONS and remove DEFINE / REMOVE RULES 2016-11-26 13:39:03 +00:00
funcs.go Add SQL functions for hotp/totp/yubikey security 2016-12-08 21:57:22 +00:00
gen.go Remove incorrect build tags 2017-01-11 11:22:17 +00:00
index.go Perform authentication access checks in SQL layer 2016-11-04 11:25:53 +00:00
info.go Improve SQL INFO command to support namespaces 2016-11-23 12:53:27 +00:00
let.go Change name of authentication scope level 2016-11-14 13:26:07 +00:00
login.go Improve SQL DEFINE LOGIN statements 2016-11-22 19:10:32 +00:00
namespace.go Fix SQL bug where NAMESPACE/DATABASE were needed twice 2017-02-09 10:31:53 +00:00
options.go Improve errors throught codebase 2017-02-20 01:44:13 +00:00
parser.go Fix sql tests 2017-02-23 15:09:02 +00:00
perms.go Add PERMISSIONS and remove DEFINE / REMOVE RULES 2016-11-26 13:39:03 +00:00
relate.go Enforce default RETURN value in sql parser 2017-02-20 01:44:12 +00:00
remove.go Enable use of SQL DEFINE/REMOVE in transactions 2017-02-20 01:44:11 +00:00
return.go Change name of authentication scope level 2016-11-14 13:26:07 +00:00
scanner.go Differentiate between IDENT and EXPR in SQL 2017-02-24 13:05:07 +00:00
scope.go Generate token keys in SQL and store as binary 2016-11-22 13:51:21 +00:00
select.go Enable query params for VERSION in queries 2017-02-20 01:44:13 +00:00
sql.go Ensure parsed times are stored in UTC 2016-09-14 21:57:42 +01:00
sql_test.go Fix sql tests 2017-02-23 15:09:02 +00:00
table.go Add PERMISSIONS and remove DEFINE / REMOVE RULES 2016-11-26 13:39:03 +00:00
token.go Improve SQL DEFINE TOKEN statements 2016-11-22 19:10:42 +00:00
tokens.go Differentiate between IDENT and EXPR in SQL 2017-02-24 13:05:07 +00:00
trans.go DEFINE and REMOVE SQL queries can not be inside transactions 2016-11-26 13:05:21 +00:00
type.go Enable password field types 2017-02-03 19:10:51 +00:00
update.go Enforce default RETURN value in sql parser 2017-02-20 01:44:12 +00:00
use.go Enable query params for USE NS / USE DB in queries 2017-02-20 01:44:13 +00:00
util.go Enable simplified json in SQL queries 2017-02-03 19:08:57 +00:00
view.go Perform authentication access checks in SQL layer 2016-11-04 11:25:53 +00:00