If I have a table
Goods have a nullable column receivedStockId
receivedStockId INT64
I cannot write a select-statement like below:
select * from Goods where receivedStockId=@receivedStockId
My current solution is:
select * from Goods where receivedStockId in UNNEST([@receivedStockId])
Is there any better solution?