-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for supplying the fields to query in the select statement
Example usage: 'NewUserQuerySet(db).Select(UserDBSchema.Name, UserDBSchema.Email).All(&users)' This will fetch only the 'name' and 'email' fields for all users, instead of fetching all the fields in the table.
- Loading branch information
Ronnie Lazar
committed
Oct 17, 2019
1 parent
828af80
commit ec72873
Showing
7 changed files
with
90 additions
and
1 deletion.
There are no files selected for viewing
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
internal/queryset/generator/test/pkgimport/autogenerated_models.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.