net.liftweb.mapper.PostgreSqlDriver

object PostgreSqlDriver

object PostgreSqlDriver

 extends BasePostgreSQLDriver


PostgreSql driver for versions 8.2 and up. Tested with:


Source: Driver.scala(259)

 Constructors

def this

 Fields

alterAddColumn.. def alterAddColumn
This defines the syntax for adding a column in an alter [details]
This is used because some DBs (Oracle, for one) use slightly different syntax.
String DriverType
binaryColumnType.. def binaryColumnType String BasePostgreSQLDriver
booleanColumnType.. def booleanColumnType String BasePostgreSQLDriver
brokenLimit_?.. def brokenLimit_?
Whether this database supports LIMIT clause in SELECTs
Boolean DriverType
clobColumnType.. def clobColumnType String BasePostgreSQLDriver
columnTypeMap.. def columnTypeMap
Allow the driver to do specific remapping of column types for cases where not all types are supported [details]
Classes that want to do custom type mapping for columns should override the customColumnTypeMap method.
PartialFunction DriverType
createTablePostpend.. def createTablePostpend String DriverType
customColumnTypeMap.. protected def customColumnTypeMap
Allows the Vendor-specific Driver to do custom type mapping for a particular column type
PartialFunction DriverType
dateColumnType.. def dateColumnType String BasePostgreSQLDriver
dateTimeColumnType.. def dateTimeColumnType String BasePostgreSQLDriver
defaultSchemaName.. override def defaultSchemaName
"$user" schema is searched before "public", but it does not exist by default, so "public" is our default choice
Box[String] BasePostgreSQLDriver
doubleColumnType.. def doubleColumnType String BasePostgreSQLDriver
enumColumnType.. def enumColumnType String BasePostgreSQLDriver
enumListColumnType.. def enumListColumnType String BasePostgreSQLDriver
integerColumnType.. def integerColumnType String BasePostgreSQLDriver
integerIndexColumnType.. def integerIndexColumnType String BasePostgreSQLDriver
longColumnType.. def longColumnType String BasePostgreSQLDriver
longForeignKeyColumnType.. def longForeignKeyColumnType String BasePostgreSQLDriver
longIndexColumnType.. def longIndexColumnType String BasePostgreSQLDriver
maxSelectLimit.. override def maxSelectLimit
Maximum value of the LIMIT clause in SELECT
String BasePostgreSQLDriver
name.. val name String DriverType
pkDefinedByIndexColumn_?.. def pkDefinedByIndexColumn_?
Whether the primary key has been defined by the index column
Boolean DriverType
supportsForeignKeys_?.. override def supportsForeignKeys_? Boolean
timeColumnType.. def timeColumnType String BasePostgreSQLDriver

 Methods

!=.. final def !=(arg0 : Any) Boolean Any
!=.. final def !=(arg0 : Object) Boolean AnyRef
==.. final def ==(arg0 : Object) Boolean AnyRef
==.. final def ==(arg0 : Any) Boolean Any
asInstanceOf.. final def asInstanceOf[T0] T0 Any
clone.. protected def clone Object AnyRef
eq.. final def eq(arg0 : Object) Boolean AnyRef
equals.. def equals(arg0 : Any) Boolean AnyRef
finalize.. protected def finalize Unit AnyRef
getClass.. final def getClass Class[Any] AnyRef
hashCode.. def hashCode Int AnyRef
isInstanceOf.. final def isInstanceOf[T0] Boolean Any
ne.. final def ne(arg0 : Object) Boolean AnyRef
notify.. final def notify Unit AnyRef
notifyAll.. final def notifyAll Unit AnyRef
performInsert.. def performInsert[T](conn : SuperConnection, query : String, setter : (PreparedStatement) => Unit, tableName : String, genKeyNames : List[String])(handler : (Either[ResultSet, Int]) => T)
Performs an insert and optionally returns the ResultSet of the generated keys that were inserted [details]
If no keys are specified, return the number of rows updated.
param
pkName - Zero or more generated column names that need to be returned
query - The prepared query string to use for the insert
setter - A function that will set the parameters on the prepared statement
conn - A connection that the method can optionally use if it needs to execute ancillary statements
T DriverType
performInsertWithGenKeys.. override def performInsertWithGenKeys[T](conn : SuperConnection, query : String, setter : (PreparedStatement) => Unit, tableName : String, genKeyNames : List[String], handler : (Either[ResultSet, Int]) => T) T
primaryKeySetup.. def primaryKeySetup(tableName : String, columnName : 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) [details]
The List of commands will be executed in order.
List[String] DriverType
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
toString.. def toString String AnyRef
varcharColumnType.. def varcharColumnType(len : Int) String DriverType
wait.. final def wait(arg0 : Long) Unit AnyRef
wait.. final def wait Unit AnyRef
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.