/ LJCPHPCodeDoc / LJCDBAccessLib / LJCJoins / Retrieve


Parameters
$key - The key value.
$throwError - The optional throw error flag.

Syntax

PHP
public function Retrieve($key, bool $throwError = true) : ?LJCJoin

Retrieves the item by Key value.

Example

PHP
 include_once "LJCRoot.php";
 $prefix = RelativePrefix();
  include_once "$prefix/LJCPHPCommon/LJCDBAccessLib.php";
 
 $joins = new LJCJoins();
 $joins->Add("TableName");
 $join = $joins->Get("TableName");

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.