示例#1
0
文件: example.go 项目: nonempty/qbs
func FindPostsOmitContentAndCreated(q *qbs.Qbs) ([]*Post, error) {
	var posts []*Post
	err := q.OmitFields("Content", "Created").Find(&posts)
	return posts, err
}