* Sets the id of a tuple. * @param {object} t - The input tuple. * @param {*} id - The id value to set. * @return {object} the input tuple.
(t, id)
| 107219 | * @param {*} id - The id value to set. |
| 107220 | * @return {object} the input tuple. |
| 107221 | */ function setid(t, id) { |
| 107222 | t[TUPLE_ID_KEY] = id; |
| 107223 | return t; |
| 107224 | } |
| 107225 | /** |
| 107226 | * Ingest an object or value as a data tuple. |
| 107227 | * If the input value is an object, an id field will be added to it. For |