mirror of
https://gitee.com/johng/gf.git
synced 2024-12-04 13:18:01 +08:00
gdb链式操作增加默认Fields
This commit is contained in:
parent
31fe59ec83
commit
16e2fd0680
@ -35,6 +35,7 @@ func (db *Db) Table(tables string) (*Model) {
|
||||
return &Model {
|
||||
db : db,
|
||||
tables : tables,
|
||||
fields : "*",
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user