NAME

DBIO::Informix::Util - Identifier quoting shared by the Informix DDL and diff writers

VERSION

version 0.900007

DESCRIPTION

Informix folds an unquoted identifier to lower case (with DELIMIDENT set, which DBIO::Informix::Storage does at connect, a double-quoted one is kept as written). A name that is not all lower case therefore has to be quoted, or the object the DDL creates is not the one the ORM selects from. This is the one place that decides.

METHODS

_quote_ident

_quote_ident('users');       # users
_quote_ident('MixedCase');   # "MixedCase"
_quote_ident('odd "c"');     # "odd ""c"""

A name of lower case letters, digits and underscores that does not start with a digit stays bare; anything else is double-quoted with an embedded " doubled.

AUTHOR

DBIO & DBIx::Class Authors

COPYRIGHT AND LICENSE

Copyright (C) 2026 DBIO Authors Portions Copyright (C) 2005-2025 DBIx::Class Authors Based on DBIx::Class, heavily modified.

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