     # Return list of columns in a given table
     _get_columns: (table, cb) =>
         @_query
-            query  : "SELECT column_name FROM information_schema.columns WHERE table_name = $1::text"
-            params : [table]
-            cb     : (err, result) =>
+            query : "SELECT column_name FROM information_schema.columns"
+            where :
+                "table_name = $::text" : table
+            cb    : (err, result) =>
                 if err
                     cb(err)
                 else

            value : required    # object
            cb    : undefined
        @_query
            query  : 'INSERT INTO central_log (id, event, value, time) VALUES ($1::UUID, $2::TEXT, $3::JSONB, NOW())'
            params : [misc.uuid(), opts.event, opts.value]
            cb     : (err) => opts.cb?(err)

    # dump a range of data from the central_log table

            (cb) =>
                dbg("checking whether or not trigger exists")
                @_query
                    query : "SELECT count(*) FROM pg_trigger WHERE tgname = '#{tgname}'"
                    cb    : (err, result) =>
                        if err
                            cb(err)
