org.javalite.activejdbc.dialects
Class MySQLDialect
java.lang.Object
org.javalite.activejdbc.dialects.DefaultDialect
org.javalite.activejdbc.dialects.PostgreSQLDialect
org.javalite.activejdbc.dialects.MySQLDialect
public class MySQLDialect
- extends PostgreSQLDialect
- Author:
- Igor Polevoy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MySQLDialect
public MySQLDialect()
formSelect
public String formSelect(String tableName,
String subQuery,
List<String> orderBys,
long limit,
long offset)
- Description copied from class:
PostgreSQLDialect
- Generates adds limit, offset and order bys to a sub-query
- Overrides:
formSelect in class PostgreSQLDialect
- Parameters:
tableName - name of table. If table name is null, then the subQuery parameter is considered to be a full query, and all that needs to be done is to
add limit, offset and order byssubQuery - sub-query or a full query
- Returns:
- query with
Copyright © 2013. All Rights Reserved.