-
I mainly need a good router but a complete framework will be nice.
-
Hello!
How can i name of model for "media.image" table?
-
```
D:\Go\src\inframe>go get -u github.com/go-ozzo/ozzo-dbx
# cd D:\Go\src\github.com\go-ozzo\ozzo-dbx; git pull --ff-only
From https://github.com/go-ozzo/ozzo-dbx
96b973a..5e793d3 master -> o…
-
If I populate Actor with `Actor` and `Person` attributes, how can I store (INSERT, UPDATE) it into db tables `actor` and `person` with the same structure?
``` Go
type Actor struct{
Id int…
-
Hi!
How to use transactions when database queries located in different methods?
Like in my case? Or I must using this in handler functions?
``` go
func (m *Actor) beforeInsert(){
m.CreatedAt = ti…
-
Hi!
I need to create new record if not exist already.
What is the best solution with ozzo-dbx?
-
q.Column undefined (type *dbx.SelectQuery has no field or method Column)
this works only for commented statement.
``` Go
func (m *User)GetEmailsAll() []string {
q := db.Select("email") //q := db.…
-
Whether it is possible to use query builder?
-
How to return correct http status error from validation error?
``` Go
func SaveHandler(cPtr *routing.Context) error {
var actor models.Actor
cPtr.Read(&actor)
err := actor.Validate()
…
-
Hi team.
Please advise how I can validate types like sql.NullBool, sql.NullString, sql.NullInt64, sql.NullFloat64 or advanced packages like https://github.com/guregu/null ? For example, I try to valid…