go-ozzo / ozzo-dbx

A Go (golang) package that enhances the standard database/sql package by providing powerful data retrieval methods as well as DB-agnostic query building capabilities.
MIT License
638 stars 91 forks source link

Add upsert query support in model query. #73

Open vaishali-ntnx opened 6 years ago

vaishali-ntnx commented 6 years ago

Please add support for upsert query as well in model query. In already existing upsert query, we need to build params. it doesn't directly take struct. this query should be supported: "db.Model(&structName).Upsert()"