adds correct quotes for sql queries, nested within sql_filter

collapse_filters(x)

Arguments

x

variable to add quotes to