UNPKG
access-db
Version:
latest (0.5.6)
0.5.6
0.5.5
0.5.3
0.5.2
0.5.1
0.5.0
0.3.3
0.3.2
0.3.1
0.3.0
0.2.2
0.2.1
0.2.0
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2-c
0.0.2-b
0.0.2-a
0.0.1-f
0.0.1-e
0.0.1-d
0.0.1-c
0.0.1-b
0.0.1-a
[统一数据库的连接]Unified access to all kinds of databases
access-db.cn
zomem/access-db
access-db
/
lib
/
utils
/
dbMongodb.d.ts
8 lines
(7 loc)
•
244 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
_mongodb
from
'mongodb'
;
export
declare
const
mongodbCollection
:
() =>
Promise
<{
client
: _mongodb.
MongoClient
;
db
: _mongodb.
Db
; }>;
export
declare
const
mongodbId
:
(
id
:
any
) =>
any
;
export
declare
const
mongodb
:
typeof
_mongodb;