
scala.dbc.value.Character.scala Maven / Gradle / Ivy
The newest version!
/* __ *\
** ________ ___ / / ___ Scala API **
** / __/ __// _ | / / / _ | (c) 2003-2011, LAMP/EPFL **
** __\ \/ /__/ __ |/ /__/ __ | **
** /____/\___/_/ |_/____/_/ | | **
** |/ **
\* */
package scala.dbc
package value;
/** A SQL-99 value of type character string. */
@deprecated(DbcIsDeprecated, "2.9.0") abstract class Character extends Value {
override val dataType: datatype.Character;
/** An SQL-99 compliant string representation of the value. */
def sqlString: String = {
"'" + nativeValue + "'"
}
}
/** An object offering transformation methods (views) on the value.
* This object must be visible in an expression to use value auto-
* conversion. */
@deprecated(DbcIsDeprecated, "2.9.0") object Character {
/** A character string value as a native string. */
implicit def characterToString (obj:value.Character): String = obj.nativeValue;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy