JsonUpdateCommand example

return $field->getSerializer()->encode(
                            $field,
                            $existence,
                            new KeyValuePair($field->getPropertyName()$pkFieldValue, true),
                            $parameters,
                        )->current();
                    },
                    array_keys($existence->getPrimaryKey()),
                ),
            );

            $jsonUpdateCommand = new JsonUpdateCommand(
                $definition,
                $storageName,
                $attributes,
                $pks,
                $existence,
                $parameters->getPath()
            );

            $parameters->getCommandQueue()->add($jsonUpdateCommand->getDefinition()$jsonUpdateCommand);
        }
    }
}
Home | Imprint | This part of the site doesn't use cookies.