~desarrollokumbia/kumbia/ActiveRecord

« back to all changes in this revision

Viewing changes to db_pool/adapters/pgsql_db.php

  • Committer: Deivinson Tejeda
  • Date: 2010-01-09 22:43:33 UTC
  • Revision ID: deivinsontejeda@gmail.com-20100109224333-inp2g9umc203z0jt
renombrando la clase Column por Attributes y quitando el atributo relacion luego vemos como se manejara eso...

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
                    }
79
79
                    //Relaciones
80
80
                    if(substr($field->name, strlen($field->name) -3, 3) == '_id'){
81
 
                        $column->relation = substr($field->name, 0, -3);
82
81
                        $row->setRelation($field->name, $column->relation);
83
82
                    }
84
83
                    //tipo de dato