Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
okmijnuh818
Newbie


Joined: 26 Aug 2019
Posts: 1

PostPosted: Mon Aug 26, 2019 10:35 am   

How do I query a database conditionally?
 
I need to ask how many conditions query the database

How to search for multiple conditions such as name='zhang san' and age<30 and city='shang hai'

commads= ???

#find(xxx,field) xxx Can only be the only condition?

In addition, some common commands about db help to list some.

Above is automatic translation, can answer in Chinese is also ok

very thanks !
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net