Skip to content

Get specific items only from database #41

@ToTheMoon1234

Description

@ToTheMoon1234

Hey, suppose i want to get all the documents from database which contains/starts with/ ends with

  1. "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)

  2. Same with the data: part, that the function only gets the documents from database that contains say '59' in their data: part

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions