-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
It does seem, that format cannot deal with postgres array columns, am I right?
A query like:
format("INSERT into posts ?", { title: "New Post", tags: ["foo", "bar"]})
Is not working properly.
A possible workaround is to escape each of the tags separately and use:
format("INSERT into posts ?", { title: "New Post", "!tags": "{" + ["foo", "bar"].map(escape).join(",") + "}")
Metadata
Metadata
Assignees
Labels
No labels