package
0.0.0-20220323003750-59b6e811cc21
Repository: https://github.com/borosr/qa-site.git
Documentation: pkg.go.dev
# Functions
AddAnswerHook registers your hook function for all future operations.
AddQuestionHook registers your hook function for all future operations.
AddRatingHook registers your hook function for all future operations.
AddRevokeTokenHook registers your hook function for all future operations.
AddUserHook registers your hook function for all future operations.
AnswerExists checks if the Answer row exists.
Answers retrieves all the records using an executor.
FindAnswer retrieves a single record by ID with an executor.
FindQuestion retrieves a single record by ID with an executor.
FindRating retrieves a single record by ID with an executor.
FindRevokeToken retrieves a single record by ID with an executor.
FindUser retrieves a single record by ID with an executor.
NewQuery initializes a new Query using the passed in QueryMods.
QuestionExists checks if the Question row exists.
Questions retrieves all the records using an executor.
RatingExists checks if the Rating row exists.
Ratings retrieves all the records using an executor.
RevokeTokenExists checks if the RevokeToken row exists.
RevokeTokens retrieves all the records using an executor.
UserExists checks if the User row exists.
Users retrieves all the records using an executor.
# Variables
No description provided by the author
AnswerRels is where relationship names are stored.
No description provided by the author
ErrSyncFail occurs during insert when the record could not be retrieved in order to populate default value information.
No description provided by the author
QuestionRels is where relationship names are stored.
No description provided by the author
No description provided by the author
RatingRels is where relationship names are stored.
No description provided by the author
No description provided by the author
RevokeTokenRels is where relationship names are stored.
No description provided by the author
No description provided by the author
No description provided by the author
UserRels is where relationship names are stored.
No description provided by the author
# Structs
Answer is an object representing the database table.
Question is an object representing the database table.
Rating is an object representing the database table.
RevokeToken is an object representing the database table.
User is an object representing the database table.
# Type aliases
No description provided by the author
No description provided by the author
M type is for providing columns and column values to UpdateAll.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author