Class MySQLManager

java.lang.Object
net.fateuhc.plugin.api.managers.MySQLManager

public class MySQLManager extends Object
  • Constructor Details

    • MySQLManager

      public MySQLManager()
  • Method Details

    • execute

      public void execute(String query, Object... values)
      Execute an update to the database.
      Parameters:
      query - The statement to the database.
      values - The values to be inserted into the statement.
    • select

      public void select(String query, SelectCall callback, Object... values)
      Execute a query to the database.
      Parameters:
      query - The statement to the database.
      callback - The data callback (Async).
      values - The values to be inserted into the statement.