Documentation
¶
Index ¶
Constants ¶
View Source
const CONNECTION_FAILURE string = `` /* 273-byte string literal not displayed */
View Source
const CONNECTION_SUCCESS string = `` /* 286-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func ChangeConnection ¶
Change the current connection in the session
func CreateConnection ¶
Create a new connection to a database and store the details in the session. The connections are stored as follows:
{
"connections": {
"connection-name": ["url", "driver"]
},
"current": "connection-name"
}
func EditConnections ¶
func QueryCurrent ¶
Types ¶
type ConnectListItem ¶
Connections in the drop down are stored in a JSON format, which this object will be mapped to.
Click to show internal directories.
Click to hide internal directories.