Skip to main content

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

ReturnRowsContent
ResultSet1VALUE: String in text mode; byte[] in binary mode

Example

SET demo:message hello
GET demo:message