Is there a quote function that does the outer quoting too, eg. "foo" = 'foo', nil = 'null', 42 = 42, etc.? For purposes other than talking to the database, eg. printing exemplary SQL statements to the screen, etc. Can provide a function for this.
Is there a quote function that does the outer quoting too, eg. "foo" = 'foo', nil = 'null', 42 = 42, etc.?
For purposes other than talking to the database, eg. printing exemplary SQL statements to the screen, etc.
Can provide a function for this.