home / docs / sections

sections: plugin_hooks:plugin-hook-top-query

This data as json

id page ref title content breadcrumbs references
plugin_hooks:plugin-hook-top-query plugin_hooks plugin-hook-top-query top_query(datasette, request, database, sql) 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. sql - string The SQL query. Returns HTML to be displayed at the top of the query results page. ["Plugin hooks", "Template slots"] []
Powered by Datasette ยท Queries took 1.635ms