diff --git a/g/database/gdb/gdb_model.go b/g/database/gdb/gdb_model.go index d6857fce8..3cd911602 100644 --- a/g/database/gdb/gdb_model.go +++ b/g/database/gdb/gdb_model.go @@ -35,6 +35,7 @@ func (db *Db) Table(tables string) (*Model) { return &Model { db : db, tables : tables, + fields : "*", } }