java.lang.Object
id.luckynetwork.lyrams.lyralibs.core.database.mysql.Query

public class Query extends Object
  • Constructor Details

    • Query

      public Query()
  • Method Details

    • execute

      public void execute() throws SQLException
      Execute the SQL query and close the statement.
      Throws:
      SQLException
    • getResults

      public Results getResults() throws SQLException
      Get a connection, create a statement, execute the query, and return the results.
      Returns:
      A Results object.
      Throws:
      SQLException