Parameters
joinOn - The join on object.
Syntax
| JavaScript |
|
AddObject(joinOn)
|
Adds the supplied item to the list.
Example
| JavaScript |
// Adds the supplied item to the list.
AddObject()
{
const joins = new LJCJoins();
let join = new LJCJoin("TableOne", "t");
joins.AddObject(join);
join = new LJCJoin("TableTwo", "t2");
join.SchemaName = "Schema";
joins.AddObject(join);
join = joins.Retrieve("TableTwo", "t2");
let result = join.SchemaName;
// result:
// Schema
}
|
Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.