Исправление генерации data и metadata
This commit is contained in:
parent
3efe35fd30
commit
b70d384053
|
@ -32,7 +32,7 @@ class document
|
||||||
*
|
*
|
||||||
* @return string|null Идентификатор
|
* @return string|null Идентификатор
|
||||||
*/
|
*/
|
||||||
public static function write(_connection $session, string $collection, ?array $data = null, ?array $metadata = null, bool $check = true, ?terminal $terminal = null): ?string
|
public static function write(_connection $session, string $collection, ?array $data = [], ?array $metadata = [], bool $check = true, ?terminal $terminal = null): ?string
|
||||||
{
|
{
|
||||||
// Инициализация коллекции
|
// Инициализация коллекции
|
||||||
collection::init($session, $collection, isset($data['_from'], $data['_to']));
|
collection::init($session, $collection, isset($data['_from'], $data['_to']));
|
||||||
|
|
Loading…
Reference in New Issue