Is something like this prone to SQL injection ? I am very new to Go and still learning how to interact with databases (I am not a big fan of ORMs).
stmt = "UPDATE users SET last_login = $1 WHERE id = $2" _, err = services.DB.ExecContext(ctx, stmt, time.Now(), id)
Is something like this prone to SQL injection ? I am very new to Go and still learning how to interact with databases (I am not a big fan of ORMs).