{"ok": true, "database": "docs", "table": "sections", "rows": [{"id": "internals:datasette-list-queries", "page": "internals", "ref": "datasette-list-queries", "title": "await .list_queries(database=None, ...)", "content": "Lists stored queries visible to the specified actor. \n                     async def list_queries(\n    self,\n    database=None,\n    *,\n    actor=None,\n    limit=50,\n    cursor=None,\n    q=None,\n    is_write=None,\n    is_private=None,\n    is_trusted=None,\n    source=None,\n    owner_id=None,\n    include_private=False,\n): ... \n                     \n                         \n                             database  - string, optional \n                             \n                                 Restrict results to a specific database. Omit this to list queries across all databases. \n                             \n                         \n                         \n                             actor  - dictionary, optional \n                             \n                                 The authenticated actor. Results are filtered using that actor's  view-query  permission. \n                             \n                         \n                         \n                             limit  - integer, optional \n                             \n                                 Number of queries to return. Values are clamped to the range 1-1000. \n                             \n                         \n                         \n                             cursor  - string, optional \n                             \n                                 Pagination cursor from the previous page's  next  value. \n                             \n                         \n                         \n                             q  - string, optional \n                             \n                                 Search string matched against query name, title, description and SQL. \n                             \n                         \n                         \n                             is_write ,  is_private ,  is_trusted  - boolean, optional \n                             \n                                 Filter by those stored query flags. \n                             \n                         \n                         \n                             source  - string, optional \n                             \n                                 Filter by query source. \n                             \n                         \n                         \n                             owner_id  - string, optional \n                             \n                                 Filter by owner actor ID. \n                             \n                         \n                         \n                             include_private  - boolean, optional \n                             \n                                 Set to  True  to populate a  private  boolean on each returned  StoredQuery  indicating if anonymous users would be unable to view that query. \n                             \n                         \n                     \n                     The return value is a  StoredQueryPage  dataclass instance with these attributes: \n                     \n                         \n                             queries  - list of StoredQuery instances \n                             \n                                 Stored queries in the same format returned by  await .get_query(database, name) . \n                             \n                         \n                         \n                             next  - string or None \n                             \n                                 Pagination cursor for the next page, if one exists. \n                             \n                         \n                         \n                             has_more  - boolean \n                             \n                                 True  if another page of results is available. \n                             \n                         \n                         \n                             limit  - integer \n                             \n                                 The limit used for this page.", "breadcrumbs": "[\"Internals for plugins\", \"Datasette class\", \"Stored queries\"]", "references": "[]"}], "primary_keys": ["id"], "primary_key_values": ["internals:datasette-list-queries"], "query_ms": 2.5939990009646863, "truncated": false}