Skip to content

Conversation

markbates
Copy link
Member

No description provided.

@markbates markbates requested a review from stanislas-m April 17, 2018 18:16
}
}
csql := string(out)
csql := sqlx.Rebind(sqlx.DOLLAR, sql)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might want to do the same for the cockroach driver, since it's a Postgres-compatible DB.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agreed

query.go Outdated
}
qs := fmt.Sprintf("(%s)", strings.Join(inq, ","))
stmt = strings.Replace(stmt, "(?)", qs, 1)
stmt = strings.Replace(stmt, "(?)", qs, 1)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you doing this line twice?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mclark4386 cause I liked it so much! ;) accidental vim at it's best.

@markbates
Copy link
Member Author

@stanislas-m fixed, can you look again when you have a chance? thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants