~desarrollokumbia/kumbia/ActiveRecord

« back to all changes in this revision

Viewing changes to db_pool/adapters/db_adapter.php

  • Committer: Deivinson Tejeda
  • Date: 2010-01-12 16:24:02 UTC
  • Revision ID: deivinsontejeda@gmail.com-20100112162402-s085f3pzh5g2yyms
Agregando método sql() en el ActiveRecord con Prepared Statement, tambien se arregló en el adapter de pgsql ya que utilizaba el setRelation luego se vera como se maneja

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
     * @return DbAdapter
61
61
     * @throw KumbiaException
62
62
     **/
63
 
    public static function factory($connection=null)
 
63
    public static function factory($connection=NULL)
64
64
    {
65
65
        // carga la conexion por defecto
66
66
        if (!$connection) {
127
127
            
128
128
        }
129
129
        
130
 
        return null;
 
130
        return NULL;
131
131
    }
132
132
    
133
133
    /**