-
Notifications
You must be signed in to change notification settings - Fork 3
API
Mathieu LE DIMNA edited this page Jun 24, 2021
·
4 revisions
| Return | Function | Arguments | Descirption |
|---|---|---|---|
void |
MySQL |
TCPSocket* : Your tcp socket, const char* : The server IP Address |
Creates MySQL Object, TCP socket must be initialized by user |
void |
~MySQL |
void |
Closes MySQL session and delete MySQL object |
| Return | Function | Arguments | Descirption |
|---|---|---|---|
bool |
connect |
const char* : username, const char* password |
Creates MySQL session |
bool |
disconnect |
void |
Closes MySQL session |
bool |
query |
const char* : Query |
Send query and expect OK_PACKET to be sent from server |
void |
printDatabase |
TypeDef_Database* : Database |
Print stored SELECT * result |