Naoto Ishikawa
and 1 contributors

NAME

MongoDBx::Tiny::Relation - define relation

EXPORT

RELATION_BY

  RELATION 'related_collection', RELATION_BY('method','related_field','field');
  RELATION 'bar', RELATION_BY('single','foo_id','id');

AUTHOR

Naoto ISHIKAWA, <toona at seesaa.co.jp>

LICENSE AND COPYRIGHT

Copyright 2013 Naoto ISHIKAWA.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.