/ LJCJSCodeDoc / LJCDBAccessLib / LJCJoinOns / Retrieve


Parameters
fromColumnName - The "from" column name.

Returns

The item with matching values.

Syntax

JavaScript
Retrieve(fromColumnName)

Retrieves the object which matches the data values.

Example

JavaScript
// Retrieves the object which matches the data values.
Retrieve()
{
  const joinOns = new LJCJoinOns();
  let joinOn = joinOns.Add("fromColumnName1", "toColumnName1");
  joinOn = joinOns.Add("fromColumnName2", "toColumnName2");

  joinOn = joinOns.Retrieve("fromColumnName1");
  const result = joinOn.FromColumnName;

  // result:
  // fromColumnName1
}

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