Name
Method: connection.selectdb( )
Signature
connection
.selectdb(database
)
Synopsis
Selects the name of the database for your connection to use. Any further operations on that connection will work against that database unless you later select a new database.
Example
connection.selectdb(`test');
Get MySQL and mSQL now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.