Fey::Role::Joinable - A role for things that can be part of a JOIN BY clause


Fey documentation Contained in the Fey distribution.

Index


Code Index:

NAME

Top

Fey::Role::Joinable - A role for things that can be part of a JOIN BY clause

VERSION

Top

version 0.40

SYNOPSIS

Top

  use Moose;

  with 'Fey::Role::Joinable';

DESCRIPTION

Top

Classes which do this role represent an object which can be part of a FROM clause.

METHODS

Top

This role provides the following methods:

$object->is_joinable()

Returns true.

BUGS

Top

See Fey for details on how to report bugs.

AUTHOR

Top

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE

Top


Fey documentation Contained in the Fey distribution.

package Fey::Role::Joinable;
BEGIN {
  $Fey::Role::Joinable::VERSION = '0.40';
}

use strict;
use warnings;
use namespace::autoclean;

use Moose::Role;

sub is_joinable { $_[0]->schema() ? 1 : 0 }

1;

# ABSTRACT: A role for things that can be part of a JOIN BY clause




__END__