I am having trouble reconciling the accepted answer with how the Retool documentation describes query transforms.
From https://docs.retool.com/queries/guides/transformers:
Query transformers work the same way as regular transformers. In the transformer, you are provided a field
data
which contains the results of the query without any modification. The return value from the transformer you write becomes the value ofyourQuery.data
in the rest of the app.
To paraphrase the documention, the purpose of a query transform is to transform the result of running a query. That is, the transform executes after the query. Is that correct?
The accepted answer to the OP's question implies you use a transform to convert the data before the bulk insert.
Can someone confirm you really can use a transform to convert NULL data before a bulk insert?