/ LJCPHPCodeDoc / LJCDataManagerLib / LJCSQLBuilder / GetJoinOns


Parameters
$tableName - The request table name.
$join - The Join object.
$recursive - Indicates if it is a recursive call.

Returns

The JoinOn statements.

Syntax

PHP
public static function GetJoinOns(string $tableName, LJCJoin $join
, bool $recursive = false) : ?string

Get the JoinOn statements.

Example

PHP
 $webCommonPath = "c:/inetpub/wwwroot/LJCPHPCommon";
 require_once "$webCommonPath/LJCDataManagerLib.php";
 
 $joins = new LJCJoins();
 $join = $joins->Add("JoinTableName");
 $join->JoinOns->Add("FromColumnName", "ToColumnName");

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