Class Query
java.lang.Object
id.luckynetwork.lyrams.lyralibs.core.database.mysql.Query
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Execute the SQL query and close the statement.Get a connection, create a statement, execute the query, and return the results.
-
Constructor Details
-
Query
public Query()
-
-
Method Details
-
execute
Execute the SQL query and close the statement.- Throws:
SQLException
-
getResults
Get a connection, create a statement, execute the query, and return the results.- Returns:
- A Results object.
- Throws:
SQLException
-