sections: internals:datasette-get-resource-metadata
This data as json
id | page | ref | title | content | breadcrumbs | references |
---|---|---|---|---|---|---|
internals:datasette-get-resource-metadata | internals | datasette-get-resource-metadata | await .get_resource_metadata(self, database_name, resource_name) | database_name - string The name of the database to query. resource_name - string The name of the resource (table, view, or canned query) inside database_name to query. Returns metadata keys and values for the specified "resource" as a dictionary. A "resource" in this context can be a table, view, or canned query. Internally queries the metadata_resources table inside the internal database . | ["Internals for plugins", "Datasette class", "Getting and setting metadata"] | [] |