We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23e2a4b commit 58a74b8Copy full SHA for 58a74b8
tests/functions.inc
@@ -93,17 +93,17 @@ function array2sql_parts($data) {
93
return [...fields2sql_parts(array_keys($data)), $data];
94
}
95
96
-function dump_rows($q) {
97
- while($row = ibase_fetch_assoc($q)){
+function dump_rows($q, int $flags = 0) {
+ while($row = ibase_fetch_assoc($q, $flags)){
98
var_dump($row);
99
100
101
102
-function dump_table_rows($table, $tr = null) {
+function dump_table_rows($table, $tr = null, int $flags = 0) {
103
if($tr)$args[] = $tr;
104
$args[] = sprintf('SELECT * FROM "%s"', $table);
105
106
- dump_rows(ibase_query(...$args));
+ dump_rows(ibase_query(...$args), $flags);
107
108
109
function insert_into($table, $data, $tr = null) {
0 commit comments