You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 5 Current »
FieldsStr/FieldsExStr
FieldsStr
,
FieldsExStr
user
uid
nickname
passport
password
// uid,nickname,passport,password db.Table("user").FieldsStr()
// gf_uid,gf_nickname,gf_passport,gf_password db.Table("user").FieldsStr("gf_")
// uid,nickname db.Table("user").FieldsExStr("passport, password")
// gf_uid,gf_nickname db.Table("user").FieldsExStr("passport, password", "gf_")