json_extract not working on android
See original GitHub issueI’m storing json data on a table and when running locally on on iOS it all works fine.
But when trying to run on android, it crashes with the message no such function json_extract
This is my query.
SELECT DISTINCT
json_extract(geometry, '$.coordinates') as coordinates,
json_extract(geometry, '$.type') as type,
json_extract(properties, '$.track_line_id') as track_line_id
FROM features
WHERE json_extract(geometry, '$.type') LIKE '%String%'
Is the JSON1 extension not working on android?
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
json_extract for in android in flutter not working - Stack Overflow
The record is saved in JSON format, hence need JSON_EXTRACT query. I'm sure the query is correct as its working in iOS, but...
Read more >Android Question sqlite "no such function" runtime error - B4X
SELECT tblUser.name From tblUser WHERE json_extract(tblUser.phone, ... but it would not work with : no such function json error.
Read more >Finding Slack app messages in Android and using ...
Finding Slack app messages in Android and using json_extract to do it. Short version: The Slack app for Android keeps message related data ......
Read more >JSON_EXTRACT not working for nested json data-mysql
[Solved]-JSON_EXTRACT not working for nested json data-mysql. Search. score:3. Accepted answer. That's not JSON data. It looks like a serialized PHP object.
Read more >JSON Functions And Operators - SQLite
json_array_length(json,path); json_extract(json,path,. ... SQLite does not (currently) support a binary encoding of JSON.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Published as 3.0.0 with
beta
tag: https://www.npmjs.com/package/react-native-sqlite-2/v/3.0.0Working branch: https://github.com/craftzdog/react-native-sqlite-2/tree/sqlite-android