- COPYRIGHT & LICENSE
Fey::Literal - Represents a literal piece of a SQL statement
my $literal = Fey::Literal->new_from_scalar($string_or_number_or_undef);
This class represents a literal piece of a SQL statement, such as a string, number, or function.
It is the superclass for several more specific
Fey::Literal subclasses, and also provides short
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
Use this to explicitly set a literal's alias name for use in SQL. If you don't set this, it will be autogenerated as needed.
Returns a unique id for a literal object.
Returns the appropriate SQL snippet.
$literal->sql_with_alias() causes a unique alias for the literal to be created.
Dave Rolsky, <firstname.lastname@example.org>
See Fey for details on how to report bugs.
Copyright 2006-2009 Dave Rolsky, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.