Skip to content

Commit

Permalink
Update bind array index docs
Browse files Browse the repository at this point in the history
Signed-off-by: Salil Chandra <[email protected]>
  • Loading branch information
chands10 committed Jan 28, 2025
1 parent 4f62a2c commit a48feb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/programming/c_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ For example:
```c
int arr[10] = {1,2,3,4...};
cdb2_bind_array_index(hndl, 1, CDB2_INTEGER, arr, 10, sizeof(int));
cdb2_run_statement(db, "SELECT * FROM a WHERE i IN CARRAY(@arr)");
cdb2_run_statement(db, "SELECT * FROM a WHERE i IN CARRAY(?)");
```

Parameters:
Expand Down

0 comments on commit a48feb6

Please sign in to comment.