Replace clear global response string v2, and disable stderr print in callback
This commit is contained in:
		
							parent
							
								
									3a67bf47c2
								
							
						
					
					
						commit
						11348539d3
					
				| @ -11,11 +11,12 @@ int main() { | |||||||
|     // cout << mydb.ask("Select * from Tab1");
 |     // cout << mydb.ask("Select * from Tab1");
 | ||||||
|     // cout << mydb.ask("INSERT INTO Tab1 VALUES(3,'Pakora', 'marijanab@bitelex.ml');");
 |     // cout << mydb.ask("INSERT INTO Tab1 VALUES(3,'Pakora', 'marijanab@bitelex.ml');");
 | ||||||
| 
 | 
 | ||||||
|     auto res = mydb.query("Select * from Tab1"); |     // auto res = mydb.query("Select * from Tab1");
 | ||||||
|  |     auto res = mydb.query("INSERT INTO Tab1 VALUES(4,'Mare', 'marijanab@bitelex.co');"); | ||||||
| 
 | 
 | ||||||
|     for (auto i : res)  |     // for (auto i : res) 
 | ||||||
|         for (auto j: i.second) |     //     for (auto j: i.second)
 | ||||||
|             cout << i.first << " : " << j << endl; |     //         cout << i.first << " : " << j << endl;
 | ||||||
|      |      | ||||||
| 
 | 
 | ||||||
|     // cout << endl <<  res["NAME"][1];
 |     // cout << endl <<  res["NAME"][1];
 | ||||||
|  | |||||||
							
								
								
									
										
											BIN
										
									
								
								test/test.o
									
									
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								test/test.o
									
									
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user