mgutz / dat

Go Postgres Data Access Toolkit
Other
612 stars 62 forks source link

Don't modify Builder struct fields in ToSQL function #48

Closed tnextday closed 8 years ago

tnextday commented 8 years ago

It will be make wrong sql when call ToSQL function multiple times.

mgutz commented 8 years ago

Thanks, i've been meaning to do that. Will try on local project before merging.