NAME

DB::Object::Fields::Overloaded - Overloaded Field Class

SYNOPSIS

use DB::Object::Fields::Overloaded;
my $this = DB::Object::Fields::Overloaded->new(
    # like field = $value
    expression => $some_sql_expression,
    field => $some_field,
    type => $type,
    value => $some_value,
) || die( DB::Object::Fields::Overloaded->error, "\n" );

VERSION

v0.1.1

DESCRIPTION

The purpose of this package is to tag overloaded operation so we can handle them properly later such as in a where clause

METHODS

expression

Sets or gets the resulting expression from the overloaded field resulting from an operation.

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

DB::Object::Fields::Field, DB::Object::Fields, DB::Object::Fields::Unknown

COPYRIGHT & LICENSE

Copyright(c) 2021-2023 DEGUEST Pte. Ltd.

All rights reserved

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