@earth-app/collegedb
Preparing search index...
RedisLikeClient
Interface RedisLikeClient
Minimal Redis/Valkey client contract used by the KV adapter.
interface
RedisLikeClient
{
del
(
key
:
string
)
:
unknown
;
get
(
key
:
string
)
:
Promise
<
string
|
null
>
;
scan
(
cursor
:
string
,
...
args
:
any
[]
,
)
:
RedisScanResult
|
Promise
<
RedisScanResult
>
;
set
(
key
:
string
,
value
:
string
)
:
unknown
;
}
Index
Methods
del
get
scan
set
Methods
del
del
(
key
:
string
)
:
unknown
Parameters
key
:
string
Returns
unknown
get
get
(
key
:
string
)
:
Promise
<
string
|
null
>
Parameters
key
:
string
Returns
Promise
<
string
|
null
>
scan
scan
(
cursor
:
string
,
...
args
:
any
[]
)
:
RedisScanResult
|
Promise
<
RedisScanResult
>
Parameters
cursor
:
string
...
args
:
any
[]
Returns
RedisScanResult
|
Promise
<
RedisScanResult
>
set
set
(
key
:
string
,
value
:
string
)
:
unknown
Parameters
key
:
string
value
:
string
Returns
unknown
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
del
get
scan
set
@earth-app/collegedb
Loading...
Minimal Redis/Valkey client contract used by the KV adapter.