标签: google-cloud-platform google-cloud-spanner
如果我有桌子
商品有可以为空的列 receivedStockId
receivedStockId INT64
我不能写下面的select语句:
select * from Goods where receivedStockId=@receivedStockId
我目前的解决方案是:
select * from Goods where receivedStockId in UNNEST([@receivedStockId])
有没有更好的解决方案?