第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機(jī)立即綁定

使用connect-mongodb時啟動報警告,如下

?= ?Please ensure that you set the default write concern for the database bysetting ? ?= ? ?= ? one of the options ? ? ? ? ? = ? ?= ? ? ? ? ? = ? ?= ? ? w: (value of > -1 or the string 'majority'), where < 1 means ? ? ? ? ? = ? ?= ? ? ? ?no write acknowledgement ? ? ? ? ? ?= ? ?= ? ? journal: true/false, wait for flush to journal before acknowledgement ? ? ? ? ? ?= ? ?= ? ? fsync: true/false, wait for flush to file system before acknowledgement ? ? ? ? ? = ? ?= ? ? ? ? ? = ? ?= ?For backward compatibility safe is still supported and ? ? ? ? ? = ? ?= ? allows values of [true | false | {j:true} | {w:n, wtimeout:n} | {fsync:true}] ? ? ?= ? ?= ? the default value is false which means the driver receives does not ? ? ? ? ? = ? ?= ? return the information of the success/error of the insert/update/remove ? ? ? ? ? = ? ?= ? ? ? ? ? = ? ?= ? ex: new Db(new Server('localhost', 27017), {safe:false}) ? ? ? ? ? = ? ?= ? ? ? ? ? = ? ?= ? http://www.mongodb.org/display/DOCS/getLastError+Command ? ? ? ? ? = ? ?= ? ? ? ? ? = ? ?= ?The default of no acknowledgement will change in the very near future ? ? ? ? ? ?= ? ?= ? ? ? ? ? = ? ?= ?This message will disappear when the default safe is set on the driver Db ? ? ? ? ? = ? ?=============================


這個如何解決,安全連接問題嗎

正在回答

1 回答

http://stackoverflow.com/questions/14526141/annoying-message-when-use-mongodb

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

giscafer 提問者

現(xiàn)在使用connect-mongo了。沒啥問題。好用。存session的話用redis了。
2016-02-02 回復(fù) 有任何疑惑可以回復(fù)我~

舉報

0/150
提交
取消
node建站攻略(二期)——網(wǎng)站升級
  • 參與學(xué)習(xí)       51926    人
  • 解答問題       423    個

幫助你深入前后端開發(fā)留下的迷惑,為進(jìn)一步自學(xué)打下基礎(chǔ)

進(jìn)入課程

使用connect-mongodb時啟動報警告,如下

我要回答 關(guān)注問題
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號