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
Properties
属性
crypt
Shared
Lib
Version
Info
Methods
方法
decrypt
encrypt
init
teardown
Constructors
构造函数
constructor
new
Auto
Encrypter
(
client
:
MongoClient
, options
:
AutoEncryptionOptions
)
:
AutoEncrypter
Parameters
参数
client:
MongoClient
options:
AutoEncryptionOptions
Returns
返回
AutoEncrypter
Properties
属性
Readonly
crypt
Shared
Lib
Version
Info
crypt
Shared
Lib
Version
Info
:
null
|
{
version
:
bigint
;
versionStr
:
string
}
experimental
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
Auto
Encrypter
constructor
crypt
Shared
Lib
Version
Info
decrypt
encrypt
init
teardown
Generated using
TypeDoc