code: def database(self, database, format=None):
      db = self.ds.get_database(database)
      return self.path(tilde_encode(db.route), format=format)
  
file_path: datasette/datasette/url_builder.py
imports: from .utils import tilde_encode, path_with_format, HASH_LENGTH, PrefixedUrlString
  import urllib
label_desc: Use image node_id 7 for calling the Urls obj's underlying member method code with example usage: obj.database(database, format) and returns: self