Skip to content

Commit

Permalink
Enabling backend specific value_to_string (#733)
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1624 authored Jan 5, 2024
1 parent 45c1d30 commit 2ca8d41
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/backend/query_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -989,6 +989,10 @@ pub trait QueryBuilder:

/// Convert a SQL value into syntax-specific string
fn value_to_string(&self, v: &Value) -> String {
self.value_to_string_common(v)
}

fn value_to_string_common(&self, v: &Value) -> String {
let mut s = String::new();
match v {
Value::Bool(None)
Expand Down

0 comments on commit 2ca8d41

Please sign in to comment.