I am using spanner nodejs client library. I need to request query like:
database.run({
sql: `SELECT * FROM Goods@{FORCE_INDEX=GoodsByCodeName} WHERE (code, name) in UNNEST(@codesNames)`,
params: {codesNames: codesNames}}, ...
How specify type of array_parameter
- codesNames when it is array of objects [{string, string},...]
i change select by: