Quantcast
Browsing latest articles
Browse All 3 View Live

Answer by Shawn for Is there a method to check if an array includes one value...

If your version of sqlite has the JSON1 extension compiled in:SELECT *FROM my_tableWHERE EXISTS (SELECT 1 FROM json_each(tags) WHERE value = 'love')ORDER BY id;will returnid tags --...

View Article


Answer by Frenk999 for Is there a method to check if an array includes one...

I believe this should work:SELECT * from my_table WHERE tags LIKE '%"love"%';Keyword LIKE lets you query partial information in the column and it's used in WHERE clause just like operators =, IN,...

View Article


Is there a method to check if an array includes one value in SQLite?

Let's say, we have this SQLite table with id=number and tags=text:| id | tags | | ---- | ------------------- | | 1 | ["love","sadness"] | | 2 | ["love"] | | 3 | ["happiness","joy"] |Is there a way to...

View Article
Browsing latest articles
Browse All 3 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>