Christian Hansen > SQL-ReservedWords-0.7 > SQL::ReservedWords::SQLite

Download:
SQL-ReservedWords-0.7.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View Bugs
Report a bug
Module Version: 0.7   Source  

NAME ^

SQL::ReservedWords::SQLite - Reserved SQL words by SQLite

SYNOPSIS ^

   if ( SQL::ReservedWords::SQLite->is_reserved( $word ) ) {
       print "$word is a reserved SQLite word!";
   }

DESCRIPTION ^

Determine if words are reserved by SQLite.

METHODS ^

is_reserved( $word )

Returns a boolean indicating if $word is reserved by either SQLite 2 or 3.

is_reserved_by_sqlite2( $word )

Returns a boolean indicating if $word is reserved by SQLite 2.

is_reserved_by_sqlite3( $word )

Returns a boolean indicating if $word is reserved by SQLite 3.

reserved_by( $word )

Returns a list with SQLite versions that reserves $word.

words

Returns a list with all reserved words.

EXPORTS ^

Nothing by default. Following subroutines can be exported:

is_reserved
is_reserved_by_sqlite2
is_reserved_by_sqlite3
reserved_by
words

SEE ALSO ^

SQL::ReservedWords

http://www.sqlite.org/docs.html

AUTHOR ^

Christian Hansen chansen@cpan.org

COPYRIGHT ^

This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.