It might be useful sometimes to use the write API in a no-op way. This is quite functional programming-ish and would align well with our job code - you can safely pass no data into appendValues and it'll happily do nothing. This saves us an if statement.
If the values to appendValues or batchUpdateValues are nullish or empty, we should not call out the google API and return early. Maybe we should log a message saying skipping appendValues as no data passed or something.
It might be useful sometimes to use the write API in a no-op way. This is quite functional programming-ish and would align well with our job code - you can safely pass no data into
appendValues
and it'll happily do nothing. This saves us an if statement.If the values to
appendValues
orbatchUpdateValues
are nullish or empty, we should not call out the google API and return early. Maybe we should log a message sayingskipping appendValues as no data passed
or something.Example job: