Trigary / TriBukkit

A collection of utilities designed to make Bukkit plugin development swifter.
GNU General Public License v3.0
0 stars 0 forks source link

Database utilities #6

Open Trigary opened 5 years ago

Trigary commented 5 years ago

Database utilities should be added, together with a Hikari connection pool.

ghost commented 5 years ago

Might not be the best idea to forcefully decide which database implementation developers have to use. I'd not use Hikari myself but MongoDB or such. I don't know what you mean by "utilities".

Trigary commented 5 years ago

The full name of "Hikari" is HikarCP, where CP stands for "connection pool". You can check the project out here: https://github.com/brettwooldridge/HikariCP It is not a database implementation, but yes, it does not allow NoSQL databases, since it uses JDBC. You can interpret this issue as a request for "SQL database utilities".

And by utilities, I mean everything that can reduce boilerplate. Eg. a method that connects to the database specified by a configuration file that has a format determined by this library. Methods which make it easier to run queries that return only a single cell/row/column. Anything that is commonly used.