| Fey documentation | view source | Contained in the Fey distribution. |
Fey::Literal - Factory for making a literal piece of a SQL statement
version 0.40
my $literal = Fey::Literal->new_from_scalar($string_or_number_or_undef);
This class is a factory for creating a literal piece of a SQL statement, such as a string, number, or function.
This class provides the following methods:
Given a string, number, or undef, this method returns a new object of
the appropriate subclass. This will be either a
Fey::Literal::String, Fey::Literal::Number, or
Fey::Literal::Null.
See Fey for details on how to report bugs.
Dave Rolsky <autarch@urth.org>
This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
| Fey documentation | view source | Contained in the Fey distribution. |