我是MongoDB的新手。我無法創建集合。它在mongo shell中給出一個句子 - Display all 169 possibilities? (y or n)
。代碼是 -在MongoDB中創建集合時出錯
db.Lead.insert(
{ LeadID: 1,
MasterAccountID: 100,
LeadName: 'Sarah',
LeadEmailID : '[email protected]',
LeadPhoneNumber : '2132155445',
Details : [{ StateID: 1,
TaskID : 1,
Assigned By : 1001,
TimeStamp : '10:00:00',
StatusID : 1 }
]
}
)
不知道問題出在哪。請幫助我一樣。
問候。
你確定你確實在mongo shell嗎?該消息看起來更像* nix shell消息 – 2013-04-30 03:21:54