net.liftweb.db

PostgreSqlDriver

object PostgreSqlDriver extends BasePostgreSQLDriver

PostgreSql driver for versions 8.2 and up. Tested with:

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

Type Members

  1. type TypeMapFunc = PartialFunction[Int, Int]

    Definition Classes
    DriverType

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def alterAddColumn: String

    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
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def binaryColumnType: String

    Definition Classes
    BasePostgreSQLDriverDriverType
  9. def booleanColumnType: String

    Definition Classes
    BasePostgreSQLDriverDriverType
  10. def brokenLimit_?: Boolean

    Whether this database supports LIMIT clause in SELECTs.

    Whether this database supports LIMIT clause in SELECTs.

    Definition Classes
    DriverType
  11. def clobColumnType: String

    Definition Classes
    BasePostgreSQLDriverDriverType
  12. def clone(): AnyRef

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

    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
  14. def createTablePostpend: String

    Definition Classes
    DriverType
  15. def customColumnTypeMap: TypeMapFunc

    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
  16. def dateColumnType: String

    Definition Classes
    BasePostgreSQLDriverDriverType
  17. def dateTimeColumnType: String

    Definition Classes
    BasePostgreSQLDriverDriverType
  18. def defaultSchemaName: Box[String]

    "$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
  19. def doubleColumnType: String

    Definition Classes
    BasePostgreSQLDriverDriverType
  20. def enumColumnType: String

    Definition Classes
    BasePostgreSQLDriverDriverType
  21. def enumListColumnType: String

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  27. def integerColumnType: String

    Definition Classes
    BasePostgreSQLDriverDriverType
  28. def integerIndexColumnType: String

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

    Definition Classes
    Any
  30. def longColumnType: String

    Definition Classes
    BasePostgreSQLDriverDriverType
  31. def longForeignKeyColumnType: String

    Definition Classes
    BasePostgreSQLDriverDriverType
  32. def longIndexColumnType: String

    Definition Classes
    BasePostgreSQLDriverDriverType
  33. def maxSelectLimit: String

    Maximum value of the LIMIT clause in SELECT.

    Maximum value of the LIMIT clause in SELECT.

    Definition Classes
    BasePostgreSQLDriverDriverType
  34. val name: String

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

    Definition Classes
    AnyRef
  36. final def notify(): Unit

    Definition Classes
    AnyRef
  37. final def notifyAll(): Unit

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

    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
  39. def performInsertWithGenKeys[T](conn: SuperConnection, query: String, setter: (PreparedStatement) ⇒ Unit, tableName: String, genKeyNames: List[String], handler: (Either[ResultSet, Int]) ⇒ T): T

    Definition Classes
    PostgreSqlDriverDriverType
  40. def pkDefinedByIndexColumn_?: Boolean

    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
  41. def primaryKeySetup(tableName: String, columnName: String): List[String]

    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
  42. def schemifierMustAutoCommit_?: Boolean

    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
  43. def supportsForeignKeys_?: Boolean

    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
  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  45. def timeColumnType: String

    Definition Classes
    BasePostgreSQLDriverDriverType
  46. def toString(): String

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

    Definition Classes
    DriverType
  48. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from BasePostgreSQLDriver

Inherited from DriverType

Inherited from AnyRef

Inherited from Any