mirror of
				https://gitlab.com/comunic/comunicapiv3
				synced 2025-10-30 23:24:42 +00:00 
			
		
		
		
	Improve query building
This commit is contained in:
		| @@ -73,8 +73,9 @@ impl QueryInfo { | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     pub fn cond(&mut self, key: &str, val: &str) { | ||||
|     pub fn cond(mut self, key: &str, val: &str) -> QueryInfo { | ||||
|         self.conditions.insert(key.to_string(), val.to_string()); | ||||
|         self | ||||
|     } | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user