Description

read data to model for example:

this will find User by Id field
u = &User{Id: user.Id}
err = Ormer.Read(u)
this will find User by UserName field
u = &User{UserName: "astaxie", Password: "pass"}
err = Ormer.Read(u, "UserName")

Read is referenced in 112 repositories

github.com/astaxie/beego github.com/xiongpf/GoCRM github.com/udistrital/titan

...