mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-08 20:07:51 +00:00
update
This commit is contained in:
parent
b9a3197c2c
commit
a27262b242
2 changed files with 3 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ SetColumnAttrs(<frame=STRING>, <ROW_LABEL=UINT>,
|
|||
|
||||
**Result Type:** null
|
||||
|
||||
SetColumnAttrs queries always return `null` upon success. Setting a value of `null`, without quotes, deletes an attribute. Note that, `frame` cannot be used as an attribute name.
|
||||
SetColumnAttrs queries always return `null` upon success. Setting a value of `null`, without quotes, deletes an attribute. To avoid confusion, `frame` cannot be used as an attribute name.
|
||||
|
||||
**Examples:**
|
||||
|
||||
|
|
|
|||
|
|
@ -1040,6 +1040,8 @@ func (e *Executor) executeSetFieldValue(ctx context.Context, index string, c *pq
|
|||
// Copy args and remove reserved fields.
|
||||
args := pql.CopyArgs(c.Args)
|
||||
delete(args, "frame")
|
||||
// While frame could technically work as a ColumnAttr argument, we are treating it as a reserved word primarily to avoid confusion.
|
||||
// Also, if we ever need to make ColumnAttrs frame-specific, then having this reserved word prevents backward incompatibility.
|
||||
delete(args, columnLabel)
|
||||
|
||||
// Set values.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue