Module DBI::SQL::BasicBind
In: lib/dbi/sql.rb

Mixin module useful for binding arguments to an SQL string.

Methods

bind   tokens  

Public Instance methods

Bind the :sql string to an array of :args, quoting with :quoter.

 Break the sql string into parts.

This is NOT a full lexer for SQL. It just breaks up the SQL string enough so that question marks, double question marks and quoted strings are separated. This is used when binding arguments to "?" in the SQL string.

C-style (/* */) and Ada-style (—) comments are handled. Note: Nested C-style comments are NOT handled!

[Validate]