下列创建连接的代码中,错误的是( )。
A: client = MongoClient()
B: client = MongoClient('localhost', 27017)
C: client = MongoClient('localhost:27017')
D: client = MongoClient('mongodb://localhost:27017')
A: client = MongoClient()
B: client = MongoClient('localhost', 27017)
C: client = MongoClient('localhost:27017')
D: client = MongoClient('mongodb://localhost:27017')
举一反三
- 下列代码中,可以用来连接MongoDB数据库的是( )。 A: client = MongoClient() B: client = MongoClient('localhost', 27017) C: client = MongoClient('mongodb://localhost:27017') D: client = MongoClient('//localhost:27017')。
- 以下关于可修改性描述错误的是? A: 狭义可修改性希望不影响Client代码 B: 可扩展性希望不影响Client代码 C: 灵活性希望不影响Client使用类的代码 D: 灵活性即对实现的动态配置
- The most important feeling for the nurse to convey to the client in order for the client with personality disorder to accept the nurse is one of() A: Let client feel warm and being care B: Willingness to help C: Remorse for client D: No-nonsense demands with client
- 创建MongoClient对象的时候需要传入两个参数,它们分别是 A: IP地址 B: 端口号 C: 域名 D: db路径
- Listentothedialogueforthelasttimeandfillintheblanksaccordingtowhatyouhaveheard. Receptionist:Hello,sir.MayIhelpyou? Client:Yes,Iwouldlikeasingleroomwithbathjustforacoupleofnights. Receptionist:Haveyoumadeareservation? Client:Yes,Ihave.1__________________________. Receptionist:MayIhaveyourname,please? Client:Yes,2_______________________. Receptionist:Oh,yes,Mr.Johnson.Wehaveyourreservationhere.Wouldyou pleasefilloutthisregistrationcard? Client:Certainly. Receptionist:Yourroomnumberis235,onthesecondfloor.Hereisthekey toyourroom. Client:Thankyou.WhendoIpayfortheroom? Receptionist:3____________________________. Client:Bytheway,doesthepriceincludebreakfast? Receptionist:4_________________________________________. Client:Whereisthedininghall? Receptionist:5______________________________. Client:It’sverykindofyou.Thankyouagain. Receptionist:Youarewelcome.Enjoyyourselfandhaveapleasantstay.