fix a wrong sql
`time.Now` is a function, it should be `time.Now()`
This commit is contained in:
		
							parent
							
								
									93834ebf2e
								
							
						
					
					
						commit
						6f9aafa106
					
				@ -72,7 +72,7 @@ Run Raw SQL
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
```go
 | 
					```go
 | 
				
			||||||
db.Exec("DROP TABLE users;")
 | 
					db.Exec("DROP TABLE users;")
 | 
				
			||||||
db.Exec("UPDATE orders SET shipped_at=? WHERE id IN (?)", time.Now, []int64{11,22,33})
 | 
					db.Exec("UPDATE orders SET shipped_at=? WHERE id IN (?)", time.Now(), []int64{11,22,33})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Scan
 | 
					// Scan
 | 
				
			||||||
type Result struct {
 | 
					type Result struct {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user