NAME

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

VERSION

version 0.41

SYNOPSIS

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

DESCRIPTION

Object properties:

Array of JsonSQL::Param::Table objects.

Generated parameters:

$tablesArray => \@arrayref

METHODS

Constructor new($tablesarrayref, $queryObj)

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

$tablesarrayref             => An arrayref of table 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_tables -> \@tablesArray

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

$tablesArray           => Arrayref of table identifiers to use for the query. Constructed from child L<JsonSQL::Param::Table> 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.