Overview

Packages

  • application
    • commands
    • components
      • actions
      • filters
      • leftWidget
      • permissions
      • sortableWidget
      • util
      • webupdater
      • x2flow
        • actions
        • triggers
      • X2GridView
      • X2Settings
    • controllers
    • models
      • embedded
    • modules
      • accounts
        • controllers
        • models
      • actions
        • controllers
        • models
      • calendar
        • controllers
        • models
      • charts
        • models
      • contacts
        • controllers
        • models
      • docs
        • components
        • controllers
        • models
      • groups
        • controllers
        • models
      • marketing
        • components
        • controllers
        • models
      • media
        • controllers
        • models
      • mobile
        • components
      • opportunities
        • controllers
        • models
      • products
        • controllers
        • models
      • quotes
        • controllers
        • models
      • services
        • controllers
        • models
      • template
        • models
      • users
        • controllers
        • models
      • workflow
        • controllers
        • models
      • x2Leads
        • controllers
        • models
  • Net
  • None
  • PHP
  • system
    • base
    • caching
      • dependencies
    • collections
    • console
    • db
      • ar
      • schema
        • cubrid
        • mssql
        • mysql
        • oci
        • pgsql
        • sqlite
    • i18n
      • gettext
    • logging
    • test
    • utils
    • validators
    • web
      • actions
      • auth
      • filters
      • form
      • helpers
      • renderers
      • services
      • widgets
        • captcha
        • pagers
  • Text
    • Highlighter
  • zii
    • behaviors
    • widgets
      • grid
      • jui

Classes

  • CPgsqlColumnSchema
  • CPgsqlCommandBuilder
  • CPgsqlSchema
  • CPgsqlTableSchema
  • Overview
  • Package
  • Class
  • Tree
 1: <?php
 2: /**
 3:  * CPgsqlCommandBuilder class file.
 4:  *
 5:  * @author Timur Ruziev <resurtm@gmail.com>
 6:  * @link http://www.yiiframework.com/
 7:  * @copyright 2008-2013 Yii Software LLC
 8:  * @license http://www.yiiframework.com/license/
 9:  */
10: 
11: /**
12:  * CPgsqlCommandBuilder provides basic methods to create query commands for tables.
13:  *
14:  * @author Timur Ruziev <resurtm@gmail.com>
15:  * @package system.db.schema.pgsql
16:  * @since 1.1.14
17:  */
18: class CPgsqlCommandBuilder extends CDbCommandBuilder
19: {
20:     /**
21:      * Returns default value of the integer/serial primary key. Default value means that the next
22:      * autoincrement/sequence value would be used.
23:      * @return string default value of the integer/serial primary key.
24:      * @since 1.1.14
25:      */
26:     protected function getIntegerPrimaryKeyDefaultValue()
27:     {
28:         return 'DEFAULT';
29:     }
30: }
31: 
API documentation generated by ApiGen 2.8.0