Replies: 1 comment
-
In SQL, To put it all together, the final query would probably look like final alternativeIds = transferArticleLocalModel.alternativeIds.jsonEach(this);
final containedInAlternativeIds = Variable.withString(value).isInQuery(
selectOnly(alternativeIds)..addColumns([alternativeIds.value]));
(select(transferArticleLocalModel)
..where((tbl) => containedInAlternativeIds))
.get(); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have this table and this List converter:
Now how to query the alternativeIds to know if the list contains a specific string?
This was my approach (with json_each) ->
But it didn't work.
Now i am using regex like this
but how to use the json api for that?
Beta Was this translation helpful? Give feedback.
All reactions