mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-08 20:07:51 +00:00
Updated docs
This commit is contained in:
parent
92d7000571
commit
b9a3197c2c
1 changed files with 3 additions and 3 deletions
|
|
@ -139,18 +139,18 @@ 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.
|
||||
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.
|
||||
|
||||
**Examples:**
|
||||
|
||||
```
|
||||
SetColumnAttrs(frame="stargazer", repo_id=10, stars=123, url="http://projects.pilosa.com/10", active=true)
|
||||
SetColumnAttrs(repo_id=10, stars=123, url="http://projects.pilosa.com/10", active=true)
|
||||
```
|
||||
|
||||
Set url value and active status for project 10. These are arbitrary key/value pairs which have no meaning to Pilosa. You can see the attributes you've set on a column with a [Bitmap]({{< ref "query-language.md#bitmap" >}}) query like so `Bitmap(frame="stargazer", repo_id=10)`.
|
||||
|
||||
```
|
||||
SetColumnAttrs(frame="stargazer", repo_id=10, url=null)
|
||||
SetColumnAttrs(repo_id=10, url=null)
|
||||
```
|
||||
|
||||
Delete url value for repo 10.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue