src-d/go-kallax

Update query not working

maheshjadav opened this issue · 1 comments

Hello

i have this code

qsmsinsert1 := functions.NewSmsgatewayUpdate(id,name,created_by,updated_by,status,branch,created_at,updated_at)
//rowsUpdated, err := store.Update(qsmsinsert1)
rowsUpdated,err := store.Update(qsmsinsert1)
updated, err := store.Debug().Save(qsmsinsert1)

but when i run this rather then update it is insert into table. can somebody help me..

how do i update record?

Issue tracker is not a help forum. Your issue lacks code to reproduce it. Please take a more careful look to the examples and the documentation.