mixedCase02/15/2022, 3:05 AM
5 times, or I can call
SELECT * FROM item WHERE id = ?
and get a response with far less network overhead. Ideally, I'd like to do the equivalent to the latter with SpiceDB. If firing 5 goroutines and calling it a day is the best it can do, that's something I can deal with for now, but if I can avoid it that'd be sweet.
SELECT * FROM item where id IN (?, ?, ?, ?, ?)