Skip to main content

DB.SEARCH

POST 

To search of one or multiple documents in a collection using keywords

Request

Body

    action stringrequired

    Default value: db.search

    The action name

    collection stringrequired

    The collection name

    matches objectrequired

    The matches criteria

    query stringrequired

    The query search for

Responses

Query response

Schema
    data object[]
    meta object
    pagination object
    page integer
    per_page integer
    total_pages integer
    size integer
    count integer
    has_next boolean
    next_page integer
    has_prev boolean
    prev_page integer
    page_showing_start integer
    page_showing_end integer
Loading...