From 00bbdc1107c52f33f62eccfcf5e3fd4364d0a8c5 Mon Sep 17 00:00:00 2001 From: Alan Bernstein Date: Tue, 13 Mar 2018 14:50:09 -0500 Subject: [PATCH] Move SetFieldValue to write section --- docs/query-language.md | 48 +++++++++++++++++++++--------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/docs/query-language.md b/docs/query-language.md index 105893e66..f14be7ca6 100644 --- a/docs/query-language.md +++ b/docs/query-language.md @@ -187,6 +187,30 @@ ClearBit(frame="stargazer", columnID=10, rowID=1) Remove relationship between the stargazer in row 1 and the repository in column 10 from the stargazer frame. +#### SetFieldValue + +**Spec:** + +``` +SetFieldValue(, , ) +``` + +**Description:** + +`SetFieldValue` assigns an integer value with the specified field name to the `columnID` in the given `frame`. + +**Result Type:** null + +SetFieldValue returns `null` upon success. + +**Examples:** + +Set the number of pull requests of repository 10. +``` +SetFieldValue(col=10, frame="stats", pullrequests=2) +``` + + ### Read Operations #### Bitmap @@ -527,27 +551,3 @@ Sum(frame="stats", field="diskusage") Return `{"sum":10,"count":3}` * Result is the size of all repositories in kilobytes, plus the number of repositories. - - -#### SetFieldValue - -**Spec:** - -``` -SetFieldValue(, , ) -``` - -**Description:** - -`SetFieldValue` assigns an integer value with the specified field name to the `columnID` in the given `frame`. - -**Result Type:** null - -SetFieldValue returns `null` upon success. - -**Examples:** - -Set the number of pull requests of repository 10. -``` -SetFieldValue(col=10, frame="stats", pullrequests=2) -```