- Companion
- class
Type members
Value members
Inherited methods
Returns table name and alias name part in SQL. If alias name and table name are same, alias name will be skipped.
Returns table name and alias name part in SQL. If alias name and table name are same, alias name will be skipped.
sql"select ${m.result.*} from ${Member.as(m)}"
- Inherited from
- SQLSyntaxSupport
Auto session for current connection pool.
Auto session for current connection pool.
- Inherited from
- SQLSyntaxSupport
Clears column names loaded from JDBC metadata.
Clears column names loaded from JDBC metadata.
- Inherited from
- SQLSyntaxSupport
Returns ColumnName provider for this (expected to use for insert/update queries).
Returns ColumnName provider for this (expected to use for insert/update queries).
- Inherited from
- SQLSyntaxSupport
If you prefer columnNames than columns, override this method to customize.
If you prefer columnNames than columns, override this method to customize.
- Inherited from
- SQLSyntaxSupport
Column names for this table (default: column names that are loaded from JDBC metadata).
Column names for this table (default: column names that are loaded from JDBC metadata).
- Inherited from
- SQLSyntaxSupport
Connection Pool Name. If you use NamedDB, you must override this method.
Connection Pool Name. If you use NamedDB, you must override this method.
- Inherited from
- SQLSyntaxSupport
True if you need forcing upper column names in SQL.
True if you need forcing upper column names in SQL.
- Inherited from
- SQLSyntaxSupport
Rule to convert field names to column names.
Rule to convert field names to column names.
override val nameConverters = Map("^serviceCode$" -> "service_cd")
- Inherited from
- SQLSyntaxSupport
Returns SQLSyntax provider for this.
Returns SQLSyntax provider for this.
val m = Member.syntax("m")
sql"select ${m.result.*} from ${Member as m}".map(Member(m.resultName)).list.apply()
// select m.id as i_on_m, m.name as n_on_m from member m
- Inherited from
- SQLSyntaxSupport
Returns SQLSyntax provider for this.
Returns SQLSyntax provider for this.
val m = Member.syntax
sql"select ${m.result.*} from ${Member as m}".map(Member(m.resultName)).list.apply()
// select member.id as i_on_member, member.name as n_on_member from member
- Inherited from
- SQLSyntaxSupport
scalikejdbc.interpolation.SQLSyntax value for table name.
scalikejdbc.interpolation.SQLSyntax value for table name.
Notice: Table name is specified with a String value which might be an input value.
- Inherited from
- SQLSyntaxSupport
Table name (default: the snake_case name from this companion object's name).
Table name (default: the snake_case name from this companion object's name).
- Inherited from
- SQLSyntaxSupport
If you need some exotic table types like MATERIALIZED VIEW
from PostgreSQL, override this method.
If you need some exotic table types like MATERIALIZED VIEW
from PostgreSQL, override this method.
- Inherited from
- SQLSyntaxSupport
True if you need shortening alias names in SQL.
True if you need shortening alias names in SQL.
- Inherited from
- SQLSyntaxSupport