Object

net.liftweb.db

PostgreSqlDriver

Related Doc: package db

Permalink

object PostgreSqlDriver extends BasePostgreSQLDriver

PostgreSql driver for versions 8.2 and up. Tested with:

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PostgreSqlDriver
  2. BasePostgreSQLDriver
  3. DriverType
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. type TypeMapFunc = PartialFunction[Int, Int]

    Permalink
    Definition Classes
    DriverType

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def alterAddColumn: String

    Permalink

    This defines the syntax for adding a column in an alter.

    This defines the syntax for adding a column in an alter. This is used because some DBs (Oracle, for one) use slightly different syntax.

    Definition Classes
    DriverType
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def binaryColumnType: String

    Permalink
    Definition Classes
    BasePostgreSQLDriverDriverType
  7. def booleanColumnType: String

    Permalink
    Definition Classes
    BasePostgreSQLDriverDriverType
  8. def brokenLimit_?: Boolean

    Permalink

    Whether this database supports LIMIT clause in SELECTs.

    Whether this database supports LIMIT clause in SELECTs.

    Definition Classes
    DriverType
  9. def clobColumnType: String

    Permalink
    Definition Classes
    BasePostgreSQLDriverDriverType
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def columnTypeMap: TypeMapFunc

    Permalink

    Allow the driver to do specific remapping of column types for cases where not all types are supported.

    Allow the driver to do specific remapping of column types for cases where not all types are supported. Classes that want to do custom type mapping for columns should override the customColumnTypeMap method.

    Definition Classes
    DriverType
  12. def createTablePostpend: String

    Permalink
    Definition Classes
    DriverType
  13. def customColumnTypeMap: TypeMapFunc

    Permalink

    Allows the Vendor-specific Driver to do custom type mapping for a particular column type.

    Allows the Vendor-specific Driver to do custom type mapping for a particular column type.

    Attributes
    protected
    Definition Classes
    DriverType
  14. def dateColumnType: String

    Permalink
    Definition Classes
    BasePostgreSQLDriverDriverType
  15. def dateTimeColumnType: String

    Permalink
    Definition Classes
    BasePostgreSQLDriverDriverType
  16. def defaultSchemaName: Box[String]

    Permalink

    "$user" schema is searched before "public", but it does not exist by default, so "public" is our default choice.

    "$user" schema is searched before "public", but it does not exist by default, so "public" is our default choice.

    Definition Classes
    BasePostgreSQLDriverDriverType
  17. def doubleColumnType: String

    Permalink
    Definition Classes
    BasePostgreSQLDriverDriverType
  18. def enumColumnType: String

    Permalink
    Definition Classes
    BasePostgreSQLDriverDriverType
  19. def enumListColumnType: String

    Permalink
    Definition Classes
    BasePostgreSQLDriverDriverType
  20. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  22. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  25. def integerColumnType: String

    Permalink
    Definition Classes
    BasePostgreSQLDriverDriverType
  26. def integerIndexColumnType: String

    Permalink
    Definition Classes
    BasePostgreSQLDriverDriverType
  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. def longColumnType: String

    Permalink
    Definition Classes
    BasePostgreSQLDriverDriverType
  29. def longForeignKeyColumnType: String

    Permalink
    Definition Classes
    BasePostgreSQLDriverDriverType
  30. def longIndexColumnType: String

    Permalink
    Definition Classes
    BasePostgreSQLDriverDriverType
  31. def maxSelectLimit: String

    Permalink

    Maximum value of the LIMIT clause in SELECT.

    Maximum value of the LIMIT clause in SELECT.

    Definition Classes
    BasePostgreSQLDriverDriverType
  32. val name: String

    Permalink
    Definition Classes
    DriverType
  33. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  34. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  35. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  36. def performInsert[T](conn: SuperConnection, query: String, setter: (PreparedStatement) ⇒ Unit, tableName: String, genKeyNames: List[String])(handler: (Either[ResultSet, Int]) ⇒ T): T

    Permalink

    Performs an insert and optionally returns the ResultSet of the generated keys that were inserted.

    Performs an insert and optionally returns the ResultSet of the generated keys that were inserted. If no keys are specified, return the number of rows updated.

    conn

    A connection that the method can optionally use if it needs to execute ancillary statements

    query

    The prepared query string to use for the insert

    setter

    A function that will set the parameters on the prepared statement

    Definition Classes
    DriverType
  37. def performInsertWithGenKeys[T](conn: SuperConnection, query: String, setter: (PreparedStatement) ⇒ Unit, tableName: String, genKeyNames: List[String], handler: (Either[ResultSet, Int]) ⇒ T): T

    Permalink
    Definition Classes
    PostgreSqlDriverDriverType
  38. def pkDefinedByIndexColumn_?: Boolean

    Permalink

    Whether the primary key has been defined by the index column.

    Whether the primary key has been defined by the index column.

    Definition Classes
    DriverType
  39. def primaryKeySetup(tableName: String, columnName: String): List[String]

    Permalink

    This method can be overriden by DriverType impls to allow for custom setup of Primary Key Columns (creating sequeneces or special indices, for example).

    This method can be overriden by DriverType impls to allow for custom setup of Primary Key Columns (creating sequeneces or special indices, for example). The List of commands will be executed in order.

    Definition Classes
    DriverType
  40. def schemifierMustAutoCommit_?: Boolean

    Permalink

    This indicates that Schemifier needs to run with a non-transacted connection.

    This indicates that Schemifier needs to run with a non-transacted connection. Certain databases require that gathering information on tables (which Schemifier uses for updates) run outside of a transaction.

    Definition Classes
    DriverType
  41. def supportsForeignKeys_?: Boolean

    Permalink

    This specifies that the driver supports FKs in tables.

    This specifies that the driver supports FKs in tables. Note that to enable FK generation in Schemifier, you also need to set MapperRules.createForeignKeys_? to true before running it.

    Definition Classes
    PostgreSqlDriverDriverType
  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  43. def timeColumnType: String

    Permalink
    Definition Classes
    BasePostgreSQLDriverDriverType
  44. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  45. def varcharColumnType(len: Int): String

    Permalink
    Definition Classes
    DriverType
  46. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from BasePostgreSQLDriver

Inherited from DriverType

Inherited from AnyRef

Inherited from Any

Ungrouped