Lines Matching refs:label
123 …prepex(6, $db, sprintf('CREATE TABLE test(id INT, label CHAR(255)) ENGINE=%s', PDO_MYSQL_TEST_ENGI…
124 prepex(7, $db, "INSERT INTO test(id, label) VALUES(1, ':placeholder')");
125 $stmt = prepex(8, $db, 'SELECT label FROM test ORDER BY id ASC');
129 prepex(10, $db, 'INSERT INTO test(id, label) VALUES(1, :placeholder)',
131 prepex(11, $db, 'INSERT INTO test(id, label) VALUES(2, :placeholder)',
133 $stmt = prepex(12, $db, 'SELECT label FROM test ORDER BY id ASC');
137 $stmt = prepex(13, $db, 'SELECT label FROM test WHERE :placeholder > 1',
146 prepex(16, $db, 'SELECT id, label FROM test WHERE label > :placeholder',
150 $stmt = prepex(16, $db, 'SELECT id, label FROM test WHERE :placeholder IS NOT NULL',
155 $stmt = prepex(18, $db, 'SELECT id, label FROM test WHERE :placeholder IS NULL',
161 prepex(21, $db, 'CREATE TABLE test(id INT, label CHAR(255)) ENGINE=MyISAM');
163 … if (is_object(prepex(22, $db, 'CREATE FULLTEXT INDEX idx1 ON test(label)', null, null, true))) {
164 prepex(23, $db, 'INSERT INTO test(id, label) VALUES (1, :placeholder)',
166 prepex(24, $db, 'INSERT INTO test(id, label) VALUES (2, :placeholder)',
168 … $stmt = prepex(25, $db, 'SELECT id, label FROM test WHERE MATCH label AGAINST (:placeholder)',
176 $stmt = prepex(26, $db, 'SELECT id, label FROM test ORDER BY id ASC');
180 if ($tmp[0]['label'] !== 'MySQL is the best database in the world!') {
188 $db->exec("INSERT INTO test(id, label) VALUES (1, 'row1')");
189 $db->exec("INSERT INTO test(id, label) VALUES (2, 'row2')");
191 $sql = sprintf("SELECT id, label FROM test WHERE (label LIKE %s) AND (id = :placeholder)",
197 $sql = sprintf("SELECT id, label FROM test WHERE (id = :placeholder) OR (label LIKE %s)",
205 …prepex(34, $db, sprintf('CREATE TABLE test(id INT, label CHAR(255)) ENGINE=%s', PDO_MYSQL_TEST_ENG…
206 prepex(35, $db, "INSERT INTO test(id, label) VALUES(1, '?')");
207 $stmt = prepex(36, $db, 'SELECT label FROM test');
211 prepex(38, $db, 'INSERT INTO test(id, label) VALUES(1, ?)',
213 prepex(39, $db, 'INSERT INTO test(id, label) VALUES(2, ?)',
215 $stmt = prepex(40, $db, 'SELECT label FROM test');
219 prepex(40, $db, 'SELECT label FROM test WHERE ? > 1',
224 array('id', 'label', 'value'));
231 prepex(43, $db, 'SELECT id, label FROM test WHERE label > ?',
236 prepex(45, $db, 'INSERT INTO test(id, label) VALUES (1, ?), (2, ?)',
238 $stmt = prepex(46, $db, 'SELECT id, label FROM test ORDER BY id');
243 "label" => "row"
247 "label" => "row"
262 $stmt = prepex(47, $db, 'SELECT id, label FROM test WHERE ? IS NOT NULL',
267 $stmt = prepex(49, $db, 'SELECT id, label FROM test WHERE ? IS NULL',
273 prepex(52, $db, 'CREATE TABLE test(id INT, label CHAR(255)) ENGINE=MyISAM');
274 … if (is_object(prepex(53, $db, 'CREATE FULLTEXT INDEX idx1 ON test(label)', null, null, true))) {
275 prepex(54, $db, 'INSERT INTO test(id, label) VALUES (1, ?)',
277 prepex(55, $db, 'INSERT INTO test(id, label) VALUES (1, ?)',
279 $stmt = prepex(56, $db, 'SELECT id, label FROM test WHERE MATCH label AGAINST (?)',
289 prepex(58, $db, 'INSERT INTO test(id, label) VALUES (1, ?), (2, ?)',
294 … $stmt = prepex(37, $db, 'SELECT id, label FROM \'test WHERE MATCH label AGAINST (:placeholder)',
299 $stmt = prepex(59, $db, 'SELECT id, label AS "label" FROM test WHERE label = ?',
303 0 => array("id" => "1", "label" => "row1")
316 $sql = sprintf("SELECT id, label FROM test WHERE (label LIKE %s) AND (id = ?)",
322 $sql = sprintf("SELECT id, label FROM test WHERE (id = ?) OR (label LIKE %s)",
328 …$sql = "SELECT id, label FROM test WHERE id = ? AND label = (SELECT label AS 'SELECT' FROM test WH…
351 ["label"]=>
358 ["label"]=>
363 ["label"]=>
372 ["label"]=>
379 ["label"]=>
384 ["label"]=>