home / docs / sections

sections: plugin_hooks:plugin-hook-top-canned-query

This data as json

id page ref title content breadcrumbs references
plugin_hooks:plugin-hook-top-canned-query plugin_hooks plugin-hook-top-canned-query top_canned_query(datasette, request, database, query_name) datasette - Datasette class You can use this to access plugin configuration options via datasette.plugin_config(your_plugin_name) . request - Request object The current HTTP request. database - string The name of the database. query_name - string The name of the canned query. Returns HTML to be displayed at the top of the canned query page. ["Plugin hooks", "Template slots"] []
Powered by Datasette ยท Queries took 1.672ms