Location: PHPKode > scripts > postgreSQL > postgresql/iSQL.php
<?php
/*
* Copyright (c) 2009
*                   Stefano De Nardis hide@address.com  
*
*/


interface iSQL
{

  public function connect();

  public function close( );

  public function query( $query_string );

  public function nextRecord( );

  public function affectedRows( );

  public function numRows( );

  public function numFields( );

  public function seek($position );

  public function lock( $table,  $mode );

  public function unlock( );

  public function nextId($sequence_name );

  public function currentId( $sequence_name);

  public function freeResult( );

  public function getRecord();
  
  public function field($fieldName);
  
  public function serverVersion( ); 
 
  public function clientVersion( );
 
  public function transaction();
 
  public function commit();
 
  public function rollback();
 
  public function error($msg);
  
  public function delete( $table, $options );
 
  public function update( $table, $options_set, $options_where );

  public function insert( $table, $options, $primary_key=""  );
  
  public function select( $table, $fields,$options, $order,$order_type, $limit,$offset );

} // end of iSQL
?>
Return current item: postgreSQL