Symisc Vedis

An Embeddable Datastore Engine



Vedis Built-in Commands - Key/Value.

Command

EXISTS key


Description


Check if a key already exists in the datastore.


Return value


Boolean: TRUE if key exists. FALSE otherwise.


Example


Refer to the download page for some C/C++ samples on how to invoke this command from your host application.



vedis> EXISTS no_such_key
(false)
vedis> SET test "Hello"
(true)

vedis> EXISTS test
(true)





Symisc Systems
Copyright © Symisc Systems