Fey::Literal - Factory for making a literal piece of a SQL statement


Fey documentation  | view source Contained in the Fey distribution.

Index


NAME

Top

Fey::Literal - Factory for making a literal piece of a SQL statement

VERSION

Top

version 0.40

SYNOPSIS

Top

  my $literal = Fey::Literal->new_from_scalar($string_or_number_or_undef);

DESCRIPTION

Top

This class is a factory for creating a literal piece of a SQL statement, such as a string, number, or function.

METHODS

Top

This class provides the following methods:

Fey::Literal->new_from_scalar($scalar)

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.

BUGS

Top

See Fey for details on how to report bugs.

AUTHOR

Top

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE

Top


Fey documentation  | view source Contained in the Fey distribution.