/ LJCPHPCodeDoc / LJCDBAccessLib / LJCDbColumns / Retrieve


Parameters
$key - The collection array key.

Returns

The collection item.

Syntax

PHP
public function Retrieve($key, bool $throwError = true) : ?LJCDbColumn

Retrieves the item by Key value.

Example

PHP
 include_once "LJCRoot.php";
 $prefix = RelativePrefix();
  include_once "$prefix/LJCPHPCommon/LJCDBAccessLib.php";
 
 $dbColumns = new LJCDbColumns();
 $dbColumns->Add("Name");
 $dbColumn = $dbColumns->Get("Name");

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