~desarrollokumbia/kumbia/ActiveRecord

« back to all changes in this revision

Viewing changes to db_pool/adapters/pgsql_db.php

  • Committer: Emilio Silveira
  • Date: 2010-06-16 03:20:43 UTC
  • Revision ID: emilio.rst@gmail.com-20100616032043-coxo4mz6l0nlzv8y
Puliendo codigo y corrigiendo bugs

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
                WHERE c.table_catalog = :database AND c.table_schema = :schema AND c.table_name = :table
53
53
                ORDER BY c.ordinal_position";
54
54
        try {
55
 
            $prepare = $this->pdo()->prepare($sql);
 
55
            $prepare = $this->prepare($sql);
56
56
            //ejecutando la consulta preparada
57
57
            $results = $prepare->execute(array('database'=>'test', 'schema'=>'public', 'table'=>'prueba'));
58
58
            if ($results) {