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
I encountered an issue while using useLiveQuery without a second parameter array:
const products = useLiveQuery('SELECT * FROM products;') This causes the following error:
Uncaught (in promise) error: could not determine data type of parameter $2
at he.Fe (...
However, the following works fine: const products = useLiveQuery('SELECT * FROM products;', [])
It seems that useLiveQuery requires a parameter array, even if no parameters are used.
The text was updated successfully, but these errors were encountered:
hichem-dahi
changed the title
Error in useLiveQuery (Vue.js): Missing Parameters When Using Query Without Empty Parameter Array
Error in useLiveQuery (Vue.js): Missing parameters when using query without empty parameter array
Nov 30, 2024
I encountered an issue while using useLiveQuery without a second parameter array:
const products = useLiveQuery('SELECT * FROM products;')
This causes the following error:However, the following works fine:
const products = useLiveQuery('SELECT * FROM products;', [])
It seems that useLiveQuery requires a parameter array, even if no parameters are used.
The text was updated successfully, but these errors were encountered: