Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
problem that if next field is empty, it resets prev field to nil if m.Password == nil { ps.stmt.BindNull(3) } else { ps.stmt.BindText(4, *m.Password) } if m.CreatedAt == nil { ps.stmt.BindNull(4) } else { ps.stmt.BindFloat(5, toolbelt.TimeToJulianDay(*m.CreatedAt)) }
- Loading branch information