The
function will connect to an existing database and extract the structure, it will then create a new document containing that structure.See also The Database Import Panel
SQLEditor doesn't keep a link between the newly created document and the original database.
To create a new document from an existing database