mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 18:18:03 +00:00
Update go bindings to use the new retrieval methods to access Record values.
This commit is contained in:
parent
295691d81b
commit
13504faf18
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ pub extern "C" fn rows_get_value(ctx: *mut c_void, col_idx: usize) -> *const c_v
|
|||
let ctx = LimboRows::from_ptr(ctx);
|
||||
|
||||
if let Some(row) = ctx.stmt.row() {
|
||||
if let Some(value) = row.values.get(col_idx) {
|
||||
if let Some(value) = row.get_values().get(col_idx) {
|
||||
let value = value.to_value();
|
||||
return LimboValue::from_value(&value).to_ptr();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue