public class MySQLDialect extends PostgreSQLDialect
GROUP_BY_PATTERN, ORDER_BY_PATTERN
Constructor and Description |
---|
MySQLDialect() |
Modifier and Type | Method and Description |
---|---|
protected void |
appendEmptyRow(MetaModel metaModel,
StringBuilder query) |
String |
formSelect(String tableName,
String[] columns,
String subQuery,
List<String> orderBys,
long limit,
long offset)
Generates adds limit, offset and order bys to a sub-query
|
appendDate, appendOrderBy, appendQuestions, appendSelect, appendSubQuery, appendTime, appendTimestamp, appendValue, deleteManyToManyAssociation, insert, insertManyToManyAssociation, insertParametrized, overrideDriverTypeConversion, replace, selectCount, selectCount, selectExists, selectManyToManyAssociation, selectStar, selectStar, selectStarParametrized, update
public String formSelect(String tableName, String[] columns, String subQuery, List<String> orderBys, long limit, long offset)
PostgreSQLDialect
formSelect
in interface Dialect
formSelect
in class PostgreSQLDialect
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 byscolumns
- not used in this implementationsubQuery
- sub-query or a full queryprotected void appendEmptyRow(MetaModel metaModel, StringBuilder query)
appendEmptyRow
in class DefaultDialect
Copyright © 2020 JavaLite. All rights reserved.