/ LJCJSCodeDoc / LJCDBAccessLib / LJCJoins / 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 joins = new LJCJoins();
  let join = joins.Add("TableOne", "t");
  join = joins.Add("TableTwo", "t2");
  join.SchemaName = "Schema";

  join = joins.Retrieve("TableOne", "t");
  const result = join.TableName;

  // result:
  // TableOne
}

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