Merge pull request #868 from raskle/setfieldvalue-doc-fix

remove quotes from SetFieldValue field argument
This commit is contained in:
Michael Baird 2017-10-04 14:34:48 -05:00 • committed by GitHub
commit 881a9f1351
2 changed files with 7 additions and 7 deletions

View file

@ -112,12 +112,12 @@ Internally Pilosa stores each BSI `field` as a `view` within a `frame`. The 'row
For example, the following `SetFieldValue()` queries will result in the data described in the illustration below:
```
SetFieldValue(col=1, frame="A", "field0"=1)
SetFieldValue(col=2, frame="A", "field0"=2)
SetFieldValue(col=3, frame="A", "field0"=3)
SetFieldValue(col=4, frame="A", "field0"=7)
SetFieldValue(col=2, frame="A", "field1"=1)
SetFieldValue(col=3, frame="A", "field1"=6)
SetFieldValue(col=1, frame="A", field0=1)
SetFieldValue(col=2, frame="A", field0=2)
SetFieldValue(col=3, frame="A", field0=3)
SetFieldValue(col=4, frame="A", field0=7)
SetFieldValue(col=2, frame="A", field1=1)
SetFieldValue(col=3, frame="A", field1=6)
```
![BSI diagram](/img/docs/frame-bsi.svg)

View file

@ -498,5 +498,5 @@ SetFieldValue returns `null` upon success.
Set the number of pull requests of repository 10.
```
SetFieldValue(col=10, frame="stats", "pullrequests"=2)
SetFieldValue(col=10, frame="stats", pullrequests=2)
```