Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

does it support the query like sql "in" statement? #19

Closed
OVERSKY2003 opened this issue May 6, 2016 · 3 comments
Closed

does it support the query like sql "in" statement? #19

OVERSKY2003 opened this issue May 6, 2016 · 3 comments

Comments

@OVERSKY2003
Copy link

now I need to use a loop to get the records for multiple ids. Can I use something like "in" of sql to query once and get all the records

"select * from table where id in (10,20,30)"

@florent37
Copy link
Owner

Hello, nope It's not implémentés yet but I can do it for you ;)
Le 6 mai 2016 19:18, "OVERSKY2003" notifications@github.com a écrit :

now I need to use a loop to get the records for multiple ids. Can I use
something like "in" of sql to query once and get all the records

"select * from table where id in (10,20,30)"


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#19

@OVERSKY2003
Copy link
Author

OVERSKY2003 commented May 6, 2016

Thank you very much for your quick response. I also accounted the same issue #17 when access database in multithread . Now I use synchronized for all db manipulations(both read and write) , so that only one thread to access db to prevent these issue. Any good suggestion for this?

@florent37
Copy link
Owner

done ;) check the 2.0.2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants