Preparing search index...
The search index is not available
cached-prisma
cached-prisma
Redis
Class Redis
Implements
Cache
Index
Constructors
constructor
Methods
close
flush
read
write
Properties
client
lifetime
Constructors
constructor
new
Redis
(
host
?
,
port
?
,
lifetime
?
,
prefix
?
)
:
Redis
Parameters
host
:
string
= "0.0.0.0"
port
:
number
= 6379
lifetime
:
number
= 10
prefix
:
string
= "cache"
Returns
Redis
Methods
close
close
(
)
:
void
Returns
void
flush
flush
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
read
read
(
key
)
:
Promise
<
null
|
string
>
Parameters
key
:
string
Returns
Promise
<
null
|
string
>
write
write
(
key
,
value
)
:
Promise
<
void
>
Parameters
key
:
string
value
:
string
Returns
Promise
<
void
>
Properties
Private
client
client
:
Redis
Readonly
lifetime
lifetime
:
number
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
close
flush
read
write
client
lifetime
cached-prisma
Loading...