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

ObjectDB::Relationship::ManyToMany - many to many relationship for ObjectDB

SYNOPSIS

DESCRIPTION

Many to one relationship for ObjectDB.

ATTRIBUTES

map_from

Relationship name of original class.

map_to

Relationship name of related class.

METHODS

new

Returns a new ObjectDB::Relationship::ManyToMany instance.

map_class

Returns and automatically loads a map class.

class

Returns and automatically loads related class.

to_source

Returns generated join arguments that are passed to the sql generator. Used internally.

to_map_source

Returns generated join arguments that are passed to the sql generator. Used internally.

to_self_map_source

Returns generated join arguments that are passed to the sql generator. Used internally.

to_self_source

Returns generated join arguments that are passed to the sql generator. Used internally.

AUTHOR

Viacheslav Tykhanovskyi, vti@cpan.org.

COPYRIGHT

Copyright (C) 2009, Viacheslav Tykhanovskyi.

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