From a433a5ebfc3aea405b97170969adf8b7d53c3319 Mon Sep 17 00:00:00 2001 From: Matthew Jaffee Date: Wed, 21 Feb 2018 16:42:35 -0600 Subject: [PATCH] remove column label repo_id from query language docs column labels are deprecated and the docs' usage of columnID vs repo_id was inconsisent. --- docs/query-language.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/query-language.md b/docs/query-language.md index 0e02351ab..ee3d49a96 100644 --- a/docs/query-language.md +++ b/docs/query-language.md @@ -80,14 +80,14 @@ A return value of `false` indicates that the bit was already set to 1 and nothin **Examples:** ``` -SetBit(frame="stargazer", repo_id=10, rowID=1) +SetBit(frame="stargazer", columnID=10, rowID=1) ``` This query illustrates setting a bit in the stargazer frame. User with id=1 has starred repository with id=10. SetBit also supports providing a timestamp. To write the date that a user starred a repository. ``` -SetBit(frame="stargazer", repo_id=10, rowID=1, timestamp="2016-01-01T00:00") +SetBit(frame="stargazer", columnID=10, rowID=1, timestamp="2016-01-01T00:00") ``` Setting multiple bits in a single request: @@ -150,7 +150,7 @@ SetColumnAttrs queries always return `null` upon success. Setting a value of `nu SetColumnAttrs(columnID=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)`. +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", columnID=10)`. ``` SetColumnAttrs(columnID=10, url=null) @@ -184,7 +184,7 @@ A return value of `false` indicates that the bit was already set to 0 and nothin ClearBit(frame="stargazer", columnID=10, rowID=1) ``` -Remove relationship between stargazer_id 1 and repo_id 10 from the stargazer frame. +Remove relationship between the stargazer in row 1 and the repository in column 10 from the stargazer frame. ### Read Operations