driver()) { case 'pgsql': return new Postgres($table, $connection, $compiler); default: return new Query($table, $connection, $compiler); } } }