fix: database logging
This commit is contained in:
		
							parent
							
								
									0f3ca626ab
								
							
						
					
					
						commit
						5689c51b11
					
				@ -17,7 +17,7 @@ export default {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
function customLogger(queryString, queryObject) {
 | 
					function customLogger(queryString, queryObject) {
 | 
				
			||||||
  console.log(queryString); // outputs a string
 | 
					  console.log(queryString); // outputs a string
 | 
				
			||||||
  if (queryObject.bind) {
 | 
					  if (queryObject?.bind) {
 | 
				
			||||||
    console.log(queryObject.bind); // outputs an array
 | 
					    console.log(queryObject.bind); // outputs an array
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user