Class SQLQueryHandler
java.lang.Object
org.sgrewritten.stargate.database.SQLQueryHandler
A handler which keeps track of all queries and query variations
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getQuery
(SQLQuery sqlQuery, DatabaseDriver databaseDriver) Gets the given SQL query
-
Method Details
-
getQuery
Gets the given SQL queryThis will return a query for the given database driver, or SQLite if the SQLite syntax is valid
- Parameters:
sqlQuery
-The SQL query to get
databaseDriver
-The database driver to get the query for
- Returns:
A query valid for the given database driver
-