like this 
 SELECT * FROM material WHERE {key:value} limit 1 
 like this 
 SELECT * FROM material WHERE {key:value} limit 1 
 does not support it. Maybe what I have learned is limited, and this kind of writing is supported in mongodb. 
 mysql is generally 
 SELECT FORM TABLE WHERE KEY = VALUE LIMIT 1 
  sql  statement, of course, it is not supported, and there is no concept of object. Objects are typically queried through  orm  framework generating  sql  statements, such as  sequelize . 
Previous: How does js use rules to find the content specified in the string
Next: How does Python RPC enable a single consumer to consume multiple queues?