Search
Preparing search index...
The search index is not available
mongodb
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
mongodb
AutoEncrypter
Interface AutoEncrypter
Hierarchy
层级
AutoEncrypter
Index
索引
Constructors
构造函数
constructor
Methods
方法
decrypt
encrypt
init
teardown
Constructors
构造函数
constructor
new AutoEncrypter
(
client
:
MongoClient
, options
:
AutoEncryptionOptions
)
:
AutoEncrypter
Parameters
参数
client:
MongoClient
options:
AutoEncryptionOptions
Returns
返回
AutoEncrypter
Methods
方法
decrypt
decrypt
(
cmd
:
Document
, options
:
any
, callback
:
Callback
<
Document
>
)
:
void
Parameters
参数
cmd:
Document
options:
any
callback:
Callback
<
Document
>
Returns
返回
void
encrypt
encrypt
(
ns
:
string
, cmd
:
Document
, options
:
any
, callback
:
Callback
<
Document
>
)
:
void
Parameters
参数
ns:
string
cmd:
Document
options:
any
callback:
Callback
<
Document
>
Returns
返回
void
init
init
(
cb
:
Callback
<
any
>
)
:
void
Parameters
参数
cb:
Callback
<
any
>
Returns
返回
void
teardown
teardown
(
force
:
boolean
, callback
:
Callback
<
any
>
)
:
void
Parameters
参数
force:
boolean
callback:
Callback
<
any
>
Returns
返回
void
Exports
AutoEncrypter
constructor
decrypt
encrypt
init
teardown
Generated using
TypeDoc