id,page,ref,title,content,breadcrumbs,references internals:datasette-add-memory-database,internals,datasette-add-memory-database,".add_memory_database(memory_name, name=None, route=None)","Adds a shared in-memory database with the specified name: datasette.add_memory_database(""statistics"") This is a shortcut for the following: from datasette.database import Database datasette.add_database( Database(datasette, memory_name=""statistics"") ) Using either of these patterns will result in the in-memory database being served at /statistics . The name and route parameters are optional and work the same way as they do for .add_database(db, name=None, route=None) .","[""Internals for plugins"", ""Datasette class""]",[]