NAME

Fey::Literal::String - Represents a literal string in a SQL statement

SYNOPSIS

  my $string = Fey::Literal::String->new($string)

DESCRIPTION

This class represents a literal string in a SQL statement.

INHERITANCE

This module is a subclass of Fey::Literal.

METHODS

This class provides the following methods:

Fey::Literal::String->new($string)

This method creates a new Fey::Literal::String object representing the string passed to the constructor.

$string->string()

Returns the string as passed to the constructor.

$string->sql()

$string->sql_with_alias()

$string->sql_or_alias()

Returns the appropriate SQL snippet.

ROLES

This class does the Fey::Role::Selectable and Fey::Role::Comparable roles.

AUTHOR

Dave Rolsky, <autarch@urth.org>

BUGS

See Fey for details on how to report bugs.

COPYRIGHT & LICENSE

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.