/ LJCPHPCodeDoc / LJCDBAccessLib / LJCJoinOns / Get


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

Syntax

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

Get the item by Key value.

Example

PHP
 $webCommonPath = "c:/inetpub/wwwroot/LJCPHPCommon";
 require_once "$webCommonPath/LJCDBAccessLib.php";
 
 $joinOns = new LJCJoins();
 $joinOns->Add("FromColumnName", "ToColumnName");
 $joinOn = $joinOns->Get("FromColumnName");

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