mirror of
https://github.com/dg/dibi.git
synced 2025-07-30 19:00:13 +02:00
Changed symbols for fetchAssoc: # means index, = means record field
This commit is contained in:
@@ -83,10 +83,10 @@ $assoc = $res->fetchAssoc('customers.name,products.title'); // key
|
||||
print_r($assoc);
|
||||
echo '<hr>';
|
||||
|
||||
$assoc = $res->fetchAssoc('customers.name,*,products.title'); // key
|
||||
print_r($assoc);
|
||||
echo '<hr>';
|
||||
|
||||
$assoc = $res->fetchAssoc('customers.name,#,products.title'); // key
|
||||
print_r($assoc);
|
||||
echo '<hr>';
|
||||
|
||||
$assoc = $res->fetchAssoc('customers.name,=,products.title'); // key
|
||||
print_r($assoc);
|
||||
echo '<hr>';
|
||||
|
Reference in New Issue
Block a user