PHP WARNING from Front_Page_Api->_getJavaDoc() in /home/openovate/public/eden.openovate.com/site/front/page/api.php on line 169

Eden Says: Undefined offset: 1

Front_Page_Api->_getJavaDoc() /home/openovate/public/eden.openovate.com/site/front/page/api.php(107)
Front_Page_Api->_getNotes() /home/openovate/public/eden.openovate.com/site/front/page/api.php(55)
Front_Page_Api->render() /home/openovate/public/eden.openovate.com/site/front/page.php(39)
Front_Page->__toString() /home/openovate/public/eden.openovate.com/site/library/eve.php(78)
Eve->__toString() /home/openovate/public/eden.openovate.com/site/web/front.php(66)
require() /home/openovate/public/eden.openovate.com/site/web/index.php(7)
Eden API: class Eden_Postgre
API > eden > postgre.php
View Source

class Eden_Postgre

Abstractly defines a layout of available methods to connect to and query a PostGres database. This class also lays out query building methods that auto renders a valid query the specific database will understand without actually needing to know the query language. Extending all SQL classes, comes coupled with loosely defined searching, collections and models.

Public Methods

public function alter($name = NULL)

Returns the alter query builder

Returns Eden_Sql_Alter

public function connect(array $options = array())

Connects to the database

Arguments

  1. array the connection options

Returns this

public function create($name = NULL)

Returns the create query builder

Returns Eden_Sql_Create

public function delete($table = NULL)

Returns the delete query builder

Returns Eden_Sql_Delete

public function getColumns($table, $schema = NULL)

Query for showing all columns of a table

Arguments

  1. string the name of the table

Returns this

public function getIndexes($table, $schema = NULL)

Query for showing all columns of a table

Arguments

  1. string the name of the table

Returns this

public function getPrimary($table, $schema = NULL)

Query for showing all columns of a table

Arguments

  1. string the name of the table

Returns this

public function getTables()

Returns a listing of tables in the DB

Returns attay|false

public function insert($table = NULL)

Returns the insert query builder

Returns Eden_Sql_Insert

public function select($select = '*')

Returns the select query builder

Returns Eden_Sql_Select

public function setSchema($schema)

Set schema search paths

public function update($table = NULL)

Returns the update query builder

Returns Eden_Sql_Update

public function utility()

Returns the alter query builder

Returns Eden_Sql_Utility


© 2012 Openovate Labs. All rights reserved.