MAPI

MySQL API - Logo 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

List of MAPI 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!


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    69743
  • Created
    Nov 28, 2013
  • Last Released File
    Jan 21, 2014
  • Total Downloads
    1,003
  • License

Categories

Members

Recent Files

Bukkit