home / docs / sections

sections: internals:datasette-set-instance-metadata

This data as json

id page ref title content breadcrumbs references
internals:datasette-set-instance-metadata internals datasette-set-instance-metadata await .set_instance_metadata(self, key, value) key - string The metadata entry key to insert (ex title , description , etc.) value - string The value of the metadata entry to insert. Adds a new metadata entry for the entire Datasette instance. Any previous instance-level metadata entry with the same key will be overwritten. Internally upserts the value into the the metadata_instance table inside the internal database . ["Internals for plugins", "Datasette class", "Getting and setting metadata"] []
Powered by Datasette ยท Queries took 3.644ms