NAME

JsonSQL::Param::Joins - JsonSQL::Param::Joins object. Stores an array of JsonSQL::Param::Join objects to use for constructing JsonSQL::Query objects.

VERSION

version 0.41

SYNOPSIS

This module constructs a Perl object container of JsonSQL::Param::Join objects.

DESCRIPTION

Object properties:

Array of JsonSQL::Param::Join objects.

Generated parameters:

$joinsArray => \@arrayref

METHODS

Constructor new($joinsarrayref, $queryObj)

Instantiates and returns a new JsonSQL::Param::Joins object, which is an array of JsonSQL::Param::Join objects.

$joinsarrayref              => An arrayref of join hashes used to construct the object.
$queryObj                   => A reference to the JsonSQL::Query object that will own this object.

Returns a JsonSQL::Error object on failure.

ObjectMethod get_joins -> \@joinsArray

Generates parameters represented by the object for the SQL statement. Returns:

$joinsArray           => Arrayref of joins to use for the query. Constructed from child L<JsonSQL::Param::Join> objects.

AUTHOR

Chris Hoefler <bhoefler@draper.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Chris Hoefler.

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