The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

DBIx::XMLServer::NumberField - integer field type

DESCRIPTION

This class implements the built-in integer field type of DBIx::XMLServer. Only the where method is overridden from the base class.

where method

  $sql_expression = $number_field->where($condition);

The condition must consist of one of the numeric comparison operators '=', '>', '<', '>=' or '<=', followed by an integer. The integer must match the regular expression '-?\d+'. The resulting SQL expression is simply

  <field> <condition> <value> .

SEE ALSO

DBIx::XMLServer::Field

AUTHOR

Martin Bright <martin@boojum.org.uk>

COPYRIGHT AND LICENCE

Copyright (C) 2003 Martin Bright

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