/ LJCJSCodeDoc / LJCDBAccessLib / LJCJoins / Clone


Returns

The new cloned object.

Syntax

JavaScript
Clone()

Creates a clone of this object.

Example

JavaScript
// Creates a clone of this object.
Clone()
{
  const joins = new LJCJoins();
  let join = joins.Add("TableOne", "t");
  join = joins.Add("TableTwo", "t2");

  let clone = joins.Clone();
  const result = clone.Count;

  // result:
  // 2
}

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