Update go bindings to use the new retrieval methods to access Record values.

This commit is contained in:
Tiago Ribeiro 2025-02-10 00:18:34 -07:00
parent 295691d81b
commit 13504faf18
No known key found for this signature in database
GPG key ID: 0FC904500625FBE9

View file

@ -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();
}