Module: WLang::EncoderSet::SQL::Sybase

Defined in:
lib/wlang/dialects/sql_dialect.rb

Overview

Encoders for ruby

Constant Summary

DEFAULT_ENCODERS =

Default encoders

{"single-quoting" => :single_quoting}

Class Method Summary (collapse)

Class Method Details

+ (Object) single_quoting(src, options)

Upcase encoding



22
# File 'lib/wlang/dialects/sql_dialect.rb', line 22

def self.single_quoting(src, options); src.gsub("'","''"); end