SecreC 2 language  2.8.0 (2023.09)
Language and standard library reference
Functions
keydb_scan(string)

Functions

ScanCursor keydb_scan (string pattern)
 

Detailed Description

Start a scan of all the keys stored in the database.

Parameters
pattern- operate only on keys matching to the pattern. The pattern is the same as accepted by Redis in the KEYS and SCAN command. (http://redis.io/commands/keys)
Returns
a ScanCursor which holds the key and a cursor.

Internally this will call keydb_clean to make sure only existing keys are returned from the scan.

Function Documentation

◆ keydb_scan()

ScanCursor keydb_scan ( string  pattern)