box.schema.role.exists()
-
box.schema.role.
exists
(role-name) Return
true
if a role exists; returnfalse
if a role does not exist.Parameters: - role-name (string) – the name of the role
Rtype: bool
Example:
box.schema.role.exists('Accountant')
__gc
metamethod
box
box.stat
box.cfg
box.ctl
box.error
box.index
box.index
box.info
box.schema
box.session
box.slab
box.space
box.tuple
box.once
box.snapshot
box.NULL
buffer
clock
console
crypto
csv
digest
errno
fiber
fio
fun
http
iconv
json
log
msgpack
net.box
os
pickle
socket
strict
string
table
tap
tarantool
uuid
utf8
uri
xlog
yaml
expirationd
membership
vshard
tarantoolctl
libslave
tutorialbox.schema.role.
exists
(role-name)Return true
if a role exists; return false
if a role does not exist.
Parameters: |
|
---|---|
Rtype: | bool |
Example:
box.schema.role.exists('Accountant')