public class InsertQuery
extends Query
-
Constructor Summary
Constructors
-
Method Summary
Get a SQL query from an object that extends Query
Methods inherited from class fr.multimc.api.commons.data.sources.database.models.Query
execute
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
getQuery
Description copied from class: Query
Get a SQL query from an object that extends Query
- Specified by:
getQuery
in class Query
- Parameters:
databaseType
- Database type, can be SQLITE or MYSQL
- Returns:
- String that represent a SQL query
-
execute
Description copied from class: Query
Execute a query
- Specified by:
execute
in class Query
- Parameters:
database
- Database instance
- Returns:
- QueryResult