Class Sequel::SQL::PlaceholderLiteralString
In: lib/sequel/sql.rb
Parent: Expression

Represents a literal string with placeholders and arguments. This is necessary to ensure delayed literalization of the arguments required for the prepared statement support

Methods

new  

Attributes

args  [R]  The arguments that will be subsituted into the placeholders.
parens  [R]  Whether to surround the expression with parantheses
str  [R]  The literal string containing placeholders

Public Class methods

Create an object with the given string, placeholder arguments, and parens flag.

[Source]

     # File lib/sequel/sql.rb, line 624
624:       def initialize(str, args, parens=false)
625:         @str = str
626:         @args = args
627:         @parens = parens
628:       end

[Validate]