Lines Matching refs:query
478 $this->db->query( 'SET NAMES UTF8' );
930 if ( $this->db->query( $sql ) === false )
1444 if ( $this->db->query( 'DROP TABLE ' . $this->table ) === false )
1536 $query = "SELECT COUNT(*) FROM {$this->table}";
1540 $query = preg_replace( '/^SELECT .+ (FROM .+)$/i',
1543 if ( stripos( $query, ' WHERE ' ) !== false )
1550 $st = $this->db->prepare( $query . $filter );
1648 $query = 'SELECT ' . $columns . ' FROM ' . $this->table;
1652 $query = $customQuery;
1654 if ( stripos( $query, ' WHERE ' ) !== false )
1664 $st = $this->db->prepare( $query . $filter . $order . $limit );
3809 $resultset = $this->db->query( $readerSQL );
4111 $s = $this->db->query( $sql );
4156 if ( $this->db->query( <<<EOT
4274 if ( $this->db->query( <<<EOT
4301 $this->db->query( 'DELETE FROM __log WHERE ctime<'.(time()-30*86400));
4330 if ( $this->db->query( <<<EOT