Nondeterministic Polynomial Munchies

    ykt-mongo

    1.2.0 • Public • Published

    连接并实现mongodb数据库的操作

    配置数据库连接地址

    在package.json文件中配置数据库的连接地址和数据库名。配置方法如下:
    
    package.json文件:
    
    {
        ...
        "db":{
            "url":"mongodb://localhost:27017",
            "dbname":"mydb"
        }
        ...
    }
    

    Keywords

    none

    Install

    npm i ykt-mongo

    DownloadsWeekly Downloads

    1

    Version

    1.2.0

    License

    ISC

    Unpacked Size

    8.15 kB

    Total Files

    3

    Last publish

    Collaborators

    • zxy6173