# File lib/tapkit/access/adapters/openbase.rb, line 463 def sql_for_string( string ) if string.nil? then 'NULL' else if @encoding then string = Utilities.encode(string, @encoding) end escape = Regexp.escape sql_escape_char string = string.to_s.gsub(/'/, '"') "'#{string}'" end end