mirror of
https://gitee.com/johng/gf
synced 2026-06-26 17:35:40 +08:00
gdb链式操作增加默认Fields
This commit is contained in:
@ -35,6 +35,7 @@ func (db *Db) Table(tables string) (*Model) {
|
||||
return &Model {
|
||||
db : db,
|
||||
tables : tables,
|
||||
fields : "*",
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user