sections_fts: 65
This data as json
| rowid | title | content |
|---|---|---|
| 65 | await .list_queries(database=None, ...) | Lists stored queries visible to the specified actor. async def list_queries( self, database=None, *, actor=None, limit=50, cursor=None, q=None, is_write=None, is_private=None, is_trusted=None, source=None, owner_id=None, include_private=False, ): ... database - string, optional Restrict results to a specific database. Omit this to list queries across all databases. actor - dictionary, optional The authenticated actor. Results are filtered using that actor's view-query permission. limit - integer, optional Number of queries to return. Values are clamped to the range 1-1000. cursor - string, optional Pagination cursor from the previous page's next value. q - string, optional Search string matched against query name, title, description and SQL. is_write , is_private , is_trusted - boolean, optional Filter by those stored query flags. source - string, optional Filter by query source. owner_id - string, optional Filter by owner actor ID. include_private - boolean, optional Set to True to populate a private boolean on each returned StoredQuery indicating if anonymous users would be unable to view that query. The return value is a StoredQueryPage dataclass instance with these attributes: queries - list of StoredQuery instances Stored queries in the same format returned by await .get_query(database, name) . next - string or None Pagination cursor for the next page, if one exists. has_more - boolean True if another page of results is available. limit - integer The limit used for this page. |