Skip to content

Commit 70cc432

Browse files
authored
Update _examples.md
1 parent 9ed7188 commit 70cc432

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/03.reference/01.functions/queryrowbyindex/_examples.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
1515
<cfscript>
1616
dump(queryRowByIndex(q_tags_indexed, "cfquery", -1));
17-
dump(queryRowDataByIndex(q_tags_indexed, "cfquery", -1));
17+
default = {tag:"unknown", id:"-1"};
18+
dump(queryRowDataByIndex(q_tags_indexed, "cfquery", default));
1819
dump(queryGetCellByIndex(q_tags_indexed, "id", "cfquery", -1));
1920
</cfscript>
20-
```
21+
```

0 commit comments

Comments
 (0)