GET
Note
Official reference: GET.
Read a string.
Syntax
GET key
A missing key returns one row with a null VALUE.
A string key returns text. Bind the key as byte[] to read binary data with getBytes(); see Type support.
Results
| Return | Rows | Content |
|---|---|---|
| ResultSet | 1 | VALUE: String in text mode; byte[] in binary mode |
Example
SET demo:message hello
GET demo:message