在MongoDB中,假设你的customers集合有一个firstName和lastName字段,那么在lastName上创建索引,然后在firstName上创建升序索引,哪条MongoDB shell命令是正确的?( )
db.customers.createIndex("lastName, firstName, ASC")
db.customers.addIndex({lastName:"ASC", firstName:"ASC"})
db.customers.newIndex({lastName:1, firstName:1})
db.customers.createIndex({lastName:1, firstName: 1})