Lines Matching refs:label

23 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');
26 assert($stmt->get_result()->fetch_assoc() === ['label'=>'a', 'anon'=>'abc', 'num' => '42']);
30 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');
32 assert($stmt->get_result()->fetch_assoc() === ['label'=>'a', 'anon'=>'abc', 'num' => '42']);
36 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');
45 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');
54 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');
63 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');
72 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');
81 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');
90 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');
94 assert($stmt->get_result()->fetch_assoc() === ['label'=>'a', 'anon'=>'abc', 'num' => '42']);
98 $stmt = $link->prepare('SELECT label FROM test WHERE id=1');
100 assert($stmt->get_result()->fetch_assoc() === ['label'=>'a']);
104 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');
106 assert($stmt->get_result()->fetch_assoc() === ['label'=>'a', 'anon'=>'abc', 'num' => '42']);
108 assert($stmt->get_result()->fetch_assoc() === ['label'=>'a', 'anon'=>'abc', 'num' => '42']);
117 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');
120 assert($stmt->get_result()->fetch_assoc() === ['label'=>'a', 'anon'=>null, 'num' => null]);
124 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');