gdb链式操作增加默认Fields

This commit is contained in:
John
2018-04-21 10:15:11 +08:00
parent babbddff1c
commit 4ae32c98e0

View File

@ -35,6 +35,7 @@ func (db *Db) Table(tables string) (*Model) {
return &Model {
db : db,
tables : tables,
fields : "*",
}
}