You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, suppose i want to get all the documents from database which contains/starts with/ ends with
"xp-" in the ID: part eg { ID: 'xp-849690256945184828893455048967860274', data: 1158 }
right now I use the .all to get all the data and use .filter to get the ones which contains "xp-" in the ID: which is a lot as the data in database is large.
A function so I only get the documents from database that contains "xp-" in the ID: part would be helpful (not all the data in the database)
Same with the data: part, that the function only gets the documents from database that contains say '59' in their data: part
Thanks
The text was updated successfully, but these errors were encountered:
Hey, suppose i want to get all the documents from database which contains/starts with/ ends with
"xp-" in the ID: part eg { ID: 'xp-849690256945184828893455048967860274', data: 1158 }
right now I use the .all to get all the data and use .filter to get the ones which contains "xp-" in the ID: which is a lot as the data in database is large.
A function so I only get the documents from database that contains "xp-" in the ID: part would be helpful (not all the data in the database)
Same with the data: part, that the function only gets the documents from database that contains say '59' in their data: part
Thanks
The text was updated successfully, but these errors were encountered: