欢迎来到PP题库网 PP题库官网
logo
全部科目 > 大学试题 > 计算机科学 > 数据库应用技术

单项选择题

MongoDB通过什么命令创建索引?()

    A.db.collectionName.createIndex(keys,options)
    B.db.collectionName.create(keys,options)
    C.db.collectionName.index(keys,options)
    D.db.collectionName.addIndex(keys,options)

点击查看答案&解析

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题