Made the countRows method of the SQL class static, so it can be easily accessible thru other classes.

MySQL API 3.3
A simplified API that will help you work with your Minecraft related database.
-
Version 3.3
ALostTeddyBear likes this. -
Version 3.2
Logs:
- Updated the error console messages.
- Made the plugin prevent null exception messages.
- Optimised the SQL class createTable method.
- Optimised the SQL class tableExists method.
- Optimised the plugin enable handler.
ALostTeddyBear likes this. -
Version 3.1
Corrected a repeated-string syntax error with one of the SQL-class set() methods.
ALostTeddyBear likes this. -
Version 3.0
Logs:
- Made the API auto-reconnect whenever connection is lost.
- Implemented a new config.yml logical option. (use_SSL)
- Implemented a 2 new Config class API methods.
- Drastically improved the system of the MySQL class.
- Updated the overview page's documentation.
Config API Changes:
Code (Text):
Added:
Boolean getSSL()
void setSSL(Boolean b)
ALostTeddyBear likes this. -
Version 2.9
Logs:
- Reimplemented the set(...) method with the ability to add multiple where arguments.
- Implemented a new method called upsert(...).
ALostTeddyBear likes this. -
Version 2.8
Logs:
- Reimplemented the get(...) method with the ability to add multiple where arguments.
- Reimplemented the listGet(...) method with the ability to add multiple where arguments.
- All SQL class voids have been changed to booleans, increasing the awareness for each process.
ALostTeddyBear, XJoeyV and Valentina_pro like this. -
Version 2.7
Logs:
- Corrected an anti-redistribution bug that caused the plugin to disable.
- Corrected a major issue that prevented database data from being accessible.
ALostTeddyBear, Maple0711 and Valentina_pro like this. - Corrected an anti-redistribution bug that caused the plugin to disable.
-
Version 2.6
Logs:
- Made sure all statements are closed after query execution.
- Made sure all connections are terminated after query execution.
- Overall improved the safety and reliability of the API.
ALostTeddyBear likes this. -
Version 2.5
Logs:
- Improved the MySQL isConnected() method with additional code and error handling.
- Implemented a new SQL method. ( listGet(...) )
- Made all SQL commands syntaxed with consistency.
- Updated the plugin.yml with 1.13 api-version.
- Removed an unneeded listener implementation.
ALostTeddyBear and LMFAO1OO2qw like this. -
Version 2.4
Improved the configuration utils.
Added the ability to modify the database's port.
Added two new methods to the config class. [ getPort(), setPort(...) ]ALostTeddyBear and Jumbo_1907 like this.
Page 1 of 3