SQLSyntaxSupportImpl
Attributes
- Source
- SQLSyntaxSupportImpl.scala
- Graph
-
- Supertypes
-
trait SQLSyntaxSupport[A]class Objecttrait Matchableclass Any
Members list
Value members
Abstract methods
Attributes
- Source
- SQLSyntaxSupportImpl.scala
Concrete methods
Attributes
- Source
- SQLSyntaxSupportImpl.scala
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)}"
Attributes
- Inherited from:
- SQLSyntaxSupport
- Source
- SQLSyntaxSupportFeature.scala
Auto session for current connection pool.
Auto session for current connection pool.
Attributes
- Inherited from:
- SQLSyntaxSupport
- Source
- SQLSyntaxSupportFeature.scala
Clears column names loaded from JDBC metadata.
Clears column names loaded from JDBC metadata.
Attributes
- Inherited from:
- SQLSyntaxSupport
- Source
- SQLSyntaxSupportFeature.scala
Returns ColumnName provider for this (expected to use for insert/update queries).
Returns ColumnName provider for this (expected to use for insert/update queries).
Attributes
- Inherited from:
- SQLSyntaxSupport
- Source
- SQLSyntaxSupportFeature.scala
If you prefer columnNames than columns, override this method to customize.
If you prefer columnNames than columns, override this method to customize.
Attributes
- Inherited from:
- SQLSyntaxSupport
- Source
- SQLSyntaxSupportFeature.scala
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).
Attributes
- Inherited from:
- SQLSyntaxSupport
- Source
- SQLSyntaxSupportFeature.scala
Connection Pool Name. If you use NamedDB, you must override this method.
Connection Pool Name. If you use NamedDB, you must override this method.
Attributes
- Inherited from:
- SQLSyntaxSupport
- Source
- SQLSyntaxSupportFeature.scala
Delimiter for alias names in SQL.
Delimiter for alias names in SQL.
Attributes
- Inherited from:
- SQLSyntaxSupport
- Source
- SQLSyntaxSupportFeature.scala
True if you need forcing upper column names in SQL.
True if you need forcing upper column names in SQL.
Attributes
- Inherited from:
- SQLSyntaxSupport
- Source
- SQLSyntaxSupportFeature.scala
Rule to convert field names to column names.
Rule to convert field names to column names.
override val nameConverters = Map("^serviceCode$" -> "service_cd")
Attributes
- Inherited from:
- SQLSyntaxSupport
- Source
- SQLSyntaxSupportFeature.scala
Schema name if exists.
Schema name if exists.
Attributes
- Inherited from:
- SQLSyntaxSupport
- Source
- SQLSyntaxSupportFeature.scala
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
Attributes
- Inherited from:
- SQLSyntaxSupport
- Source
- SQLSyntaxSupportFeature.scala
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
Attributes
- Inherited from:
- SQLSyntaxSupport
- Source
- SQLSyntaxSupportFeature.scala
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.
Attributes
- Inherited from:
- SQLSyntaxSupport
- Source
- SQLSyntaxSupportFeature.scala
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).
Attributes
- Inherited from:
- SQLSyntaxSupport
- Source
- SQLSyntaxSupportFeature.scala
Table name with schema name.
Table name with schema name.
Attributes
- Inherited from:
- SQLSyntaxSupport
- Source
- SQLSyntaxSupportFeature.scala
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.
Attributes
- Inherited from:
- SQLSyntaxSupport
- Source
- SQLSyntaxSupportFeature.scala
True if you need shortening alias names in SQL.
True if you need shortening alias names in SQL.
Attributes
- Inherited from:
- SQLSyntaxSupport
- Source
- SQLSyntaxSupportFeature.scala
True if you need to convert field names to snake_case column names in SQL.
True if you need to convert field names to snake_case column names in SQL.
Attributes
- Inherited from:
- SQLSyntaxSupport
- Source
- SQLSyntaxSupportFeature.scala