connect
Opens an in-process connection to the named database.
Opens an in-process connection to the named database as principal: the connection's Connection.user is the principal's user id. The node doesn't check principal — obtain one from the authenticate… methods below.