Future<List<OrderState>> getStates(final Iterable<int> orderIds) async
{
final sql = 'select id, state from orders where id in (@orderIds)';
final rows = await query(sql, {
'orderIds': orderIds
});
...
}
it would be nice to have list support for query values. Such query should look like this select id, state from orders where id in (1, 2, 3)
Hi! For queries like this
it would be nice to have list support for query values. Such query should look like this
select id, state from orders where id in (1, 2, 3)