Skip to content

Commit

Permalink
✨ Improve SQL serializer.
Browse files Browse the repository at this point in the history
  • Loading branch information
langyo committed Jul 8, 2024
1 parent b9b3619 commit 1ca42cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/database/src/providers/cloudflare.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ impl ProxyDb {
Some(Values(values)) => values
.iter()
.map(|val| match &val {
Value::BigInt(Some(val)) => JsValue::from(*val),
Value::BigUnsigned(Some(val)) => JsValue::from(*val),
Value::BigInt(Some(val)) => JsValue::from(val.to_string()),
Value::BigUnsigned(Some(val)) => JsValue::from(val.to_string()),
Value::Int(Some(val)) => JsValue::from(*val),
Value::Unsigned(Some(val)) => JsValue::from(*val),
Value::SmallInt(Some(val)) => JsValue::from(*val),
Expand Down

0 comments on commit 1ca42cb

Please sign in to comment.