diff --git a/bindings/nodejs/src/lib.rs b/bindings/nodejs/src/lib.rs index 57e801859..abec23fc1 100644 --- a/bindings/nodejs/src/lib.rs +++ b/bindings/nodejs/src/lib.rs @@ -70,6 +70,7 @@ impl ToNapiValue for Value { databend_driver::Value::EmptyArray => String::to_napi_value(env, "[]".to_string()), databend_driver::Value::EmptyMap => String::to_napi_value(env, "{}".to_string()), databend_driver::Value::Boolean(b) => bool::to_napi_value(env, b), + databend_driver::Value::Binary(b) => Buffer::to_napi_value(env, b.into()), databend_driver::Value::String(s) => String::to_napi_value(env, s), databend_driver::Value::Number(n) => NumberValue::to_napi_value(env, NumberValue(n)), databend_driver::Value::Timestamp(_) => { diff --git a/bindings/python/src/types.rs b/bindings/python/src/types.rs index 64832588e..1358d8701 100644 --- a/bindings/python/src/types.rs +++ b/bindings/python/src/types.rs @@ -36,6 +36,7 @@ impl IntoPy for Value { dict.into_py(py) } databend_driver::Value::Boolean(b) => b.into_py(py), + databend_driver::Value::Binary(b) => b.into_py(py), databend_driver::Value::String(s) => s.into_py(py), databend_driver::Value::Number(n) => { let v = NumberValue(n);