/ LJCPHPCodeDoc / LJCDBAccessLib / LJCJoinOns / Retrieve


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

Syntax

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

Retrieves the item by Key value.

Example

PHP
 include_once "LJCRoot.php";
 $prefix = RelativePrefix();
  include_once "$prefix/LJCPHPCommon/LJCDBAccessLib.php";
 
 $joinOns = new LJCJoins();
 $joinOns->Add("FromColumnName", "ToColumnName");
 $joinOn = $joinOns->Get("FromColumnName");

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