NotionElixir.Database.query
You're seeing just the function
query
, go back to NotionElixir.Database module for more information.
Specs
query(database :: t(), data :: map(), opts :: NotionElixir.options()) :: NotionElixir.ListResponse.t()
query(database_id :: String.t(), data :: map(), opts :: NotionElixir.options()) :: NotionElixir.ListResponse.t()
Perform a query against the passed database, returning a ListResponse from the API. Will only return the first page of results.
Options
:api_key
- API key to use with the request.:api_version
- Version of the notion API:base_url
- API base url, defaults to "https://api.notion.com/v1"