/ LJCJSCodeDoc / LJCDBAccessLib / LJCJoins / Remove


Parameters
fromColumnName - The "from" column name.

Syntax

JavaScript
Remove(fromColumnName)

Removes the the object which matches the data values.

Example

JavaScript
// Removes the object which matches the data values.
Remove()
{
  const joins = new LJCJoins();
  let join = joins.Add("TableOne", "t");
  join = joins.Add("TableTwo", "t2");
  join.SchemaName = "Schema";

  joins.Remove("TableOne", "t");
  join = joins.Retrieve("TableOne", "t");
  let result = "Found";
  if (null == join)
  {
    result = "";
  }

  // result:
  // 
}

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