-
Notifications
You must be signed in to change notification settings - Fork 521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plugin.warn is not a function #402
Comments
H
Hi @sammysium remove new Data(). it will work |
I'm hitting this as well! Triggering an error on this line: https://github.com/andpor/react-native-sqlite-storage/blob/4.1.0/lib/sqlite.core.js#L507 const listOfThings = ['foo', 'bar']
typeormConn
.getRepository(SomeRepo)
.createQueryBuilder('somerepo')
.leftJoinAndSelect(
'somerepo.otherrepo',
'otherrepo',
)
// otherrepo.things is of type "simple-json"
.where('otherrepo.things = :listOfThings', { listOfThings })
.getMany() |
I'm also getting this same error. Doing a simple insert similar to @sammysium. The function call used to work until I updated my project from using react-native-sqlite-storage 3.3.11 to 5.0.0. |
thanks @mnzaki remove this line fixed for me 👍 💯 👯
|
Same issue happen at insert query |
I was getting this error with Date objects, I fixed it with |
I am doing a simple insert query that contains different data types (if it matters) and i get the error "plugin.warn is not a function": where data is a dictionary object passed to the method.
is_active, status,user_id are integers
all the rest are strings.
There are few examples on data manipulation. Am I even doing the insert right?
The text was updated successfully, but these errors were encountered: