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

.single_quoting(src, options) ⇒ Object

Upcase encoding



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

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