DR-Tnt
view release on metacpan or search on metacpan
lib/DR/Tnt/Proto.pm view on Meta::CPAN
290291292293294295296297298299300301302303304305306307308309310
IPROTO_SPACE_ID,
$space
,
IPROTO_KEY,
$key
,
}
;
}
# HACK
_call_lua(
$sync
,
$schema_id
,
"box.space.$space:delete"
,
$key
);
}
sub
update($$$$$) {
my
(
$sync
,
$schema_id
,
$space
,
$key
,
$ops
) =
@_
;
croak
'Oplist must be Arrayref'
unless
'ARRAY'
eq
ref
$ops
;
$key
= [
$key
]
unless
ref
$key
;
croak
"Cant convert HashRef to key"
if
'HASH'
eq
ref
$key
;
if
(looks_like_number
$space
) {
return
request
_mk_header(IPROTO_UPDATE,
$sync
,
$schema_id
),
{
IPROTO_SPACE_ID,
$space
,
( run in 0.236 second using v1.01-cache-2.11-cpan-55f5a4728d2 )