abstract public add ( array $values, array $targetPk = null, string $position = 'first', integer $scope = null ) : array | ||
$values | array | |
$targetPk | array | If nested set |
$position | string | `first` (child), `last` (last child), `prev` (sibling), `next` (sibling) |
$scope | integer | If nested set with scope |
Результат | array | inserted/new primary key/s always as a array. |