Search
Preparing search index...
The search index is not available
astro-zero - v23.3.0
Options
All
Public
Public/Protected
All
Inherited
Menu
astro-zero - v23.3.0
redis
DatabaseClient
Interface DatabaseClient
数据库
Hierarchy
DatabaseClient
RedisClient
Index
Methods
del
exists
Methods
del
del
(
...
keys
:
string
[]
)
:
number
删除给定的一个或多个 key
Parameters
Rest
...
keys:
string
[]
待删除的键值列表
Returns
number
exists
exists
(
key
:
string
)
:
boolean
检查给定 key 是否存在。
存在返回 true, 失败返回 false
Parameters
key:
string
键值
Returns
boolean
Modules
redis
Position
Database
Client
del
exists
Expiration
Client
HScan
Result
Hash
Client
List
Client
Range
ByScore
Option
Redis
Client
SScan
Result
Scan
Option
Set
Client
Set
Option
Sorted
Set
Sorted
Set
Pair
Sorted
Set
Range
Option
String
Client
String
Dict
ZScan
Result
new
Client
数据库