drivers/pg.js
function(table, result) {
            if (result && result.rows && result.rows.length > 0)
                return result.rows[0][table.id];
            return -1;
        }
function(table, result) {
            if (result && result.rows && result.rows.length > 0)
                return result.rows[0][table.id];
            return -1;
        }
function ( table , result ) { if ( result && result . rows && result . rows . length > 0 ) return result . rows [ 0 ] [ table . id ] ; return - 1 ; }
gets the id of a new row from the result of an INSERT query
gets the id of a new row from the result of an INSERT query