I'm new to using r to manipulate data from the database
I want to know how to query a list of Id's in a database table
I want a situation whereby the query returns all records of Id's if found
Before I used to query just one id with the code below
start_1<-tbl(connect, "accountbits")%>%
filter(Tranx_id == "2022011813250866101336997")%>%
collect()
So it shows the query with details attached with the id.
I want to have many id's like the example below
start_2<-tbl(connect, "accountbits")%>%
filter(Tranx_id = c("2022011813250866101336997","20220115675250866101336997"
"202201181325086610143246997","2022015433250866101336997")%>%
collect()
I want it to bring all records attached to this id in the database
Thank you