You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both $queryRaw and $executeRaw seem to always return null. For $executeRaw, that leads to a fatal exception, as null is not a subtype of FutureOr<int>.
$queryRaw example:
final result =await db.$queryRaw('SELECT NOW()');
print(result); // null
$executeRaw example:
final result =await db.$queryRaw(r'UPDATE table WHERE id=1 SET column=$1', parameters: ['value']);
// exception: type 'Null' is not a subtype of type 'FutureOr<int>'
Perhaps I'm holding it wrong?
Thanks for working on this library, by the way! 💙
The text was updated successfully, but these errors were encountered:
Both
$queryRaw
and$executeRaw
seem to always returnnull
. For$executeRaw
, that leads to a fatal exception, asnull
is not a subtype ofFutureOr<int>
.$queryRaw
example:$executeRaw
example:Perhaps I'm holding it wrong?
Thanks for working on this library, by the way! 💙
The text was updated successfully, but these errors were encountered: