MAPI
What is MAPI? MAPI is a new API that allows developers who aren't familiar with MySQL to use databases with ease! Like the logo? It was made by SzymonOwca!
Examples
Usage
Connect
MAPI.connect("localhost", "databaseName", "username", "password");
Disconnect
MAPI.disconnect();
Getting Values
MAPI.selectString("tableName", "criteria", "criteriaValue", "columnName");
MAPI.selectInt("tableName", "criteria", "criteriaValue", "columnName");
MAPI.selectBool("tableName", "criteria", "criteriaValue", "columnName");
Inserting Values
MAPI.insertString("tableName", "column array", "values array");
MAPI.insertInt("tableName", "column array", "values array");
MAPI.insertBool("tableName", "column array", "values array");
Deleting Values
MAPI.delete("tableName", "criteria", "criteriaValue");
Updating Values
MAPI.update("tableName", "criteria", "criteriaValue", "columnName", "columnValue");
Using MAPI
MAPI mapi; mapi = new MAPI();
Found a Bug?
Open a ticket so that the developer has more of a chance of responding!
LOVED THAT
@m0nsune
I have a file uploaded, however it has yet to be approved (It's been up for 14 hours).
Is there any ETA set for this one?
@michidk
I have examples for everything I have so far in the page under "Usage"
Hi,
sounds nice...
but i have a few questions:
can you upload the source, for example to git?
do you use seperate threads?
do you use prepared statements?
can you post a example with gettings, inserting and updating values?
Please post all errors! If something doesn't work, please tell me!
Note: for errors, print error logs
Thanks for the nice comments! I am almost ready to do a release, I just have to fix one pesky ClassCastException and then I will be ready for a release :)
This looks amazing! Any estimated date of release? I hate MySQL.
Thanks! I'd love to use this, looks great! :D