package
0.0.0-20240917153607-77d7a176642a
Repository: https://github.com/ugabiga/go-orm-example.git
Documentation: pkg.go.dev
# Functions
AddProjectHook registers your hook function for all future operations.
AddProjectTaskHook registers your hook function for all future operations.
AddSchemaMigrationHook registers your hook function for all future operations.
AddTaskHook registers your hook function for all future operations.
AddUserHook registers your hook function for all future operations.
No description provided by the author
No description provided by the author
FindProject retrieves a single record by ID with an executor.
FindProjectTask retrieves a single record by ID with an executor.
FindSchemaMigration retrieves a single record by ID with an executor.
FindTask 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.
ProjectExists checks if the Project row exists.
Projects retrieves all the records using an executor.
ProjectTaskExists checks if the ProjectTask row exists.
ProjectTasks retrieves all the records using an executor.
SchemaMigrationExists checks if the SchemaMigration row exists.
SchemaMigrations retrieves all the records using an executor.
TaskExists checks if the Task row exists.
Tasks retrieves all the records using an executor.
UserExists checks if the User row exists.
Users retrieves all the records using an executor.
# Constants
Enum values for ProjectStatus.
Enum values for ProjectStatus.
Enum values for ProjectStatus.
Enum values for TaskStatus.
Enum values for TaskStatus.
Enum values for TaskStatus.
# Variables
ErrSyncFail occurs during insert when the record could not be retrieved in order to populate default value information.
No description provided by the author
ProjectRels is where relationship names are stored.
No description provided by the author
No description provided by the author
ProjectTaskRels is where relationship names are stored.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SchemaMigrationRels is where relationship names are stored.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TaskRels 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
No description provided by the author
No description provided by the author
# Structs
Project is an object representing the database table.
ProjectTask is an object representing the database table.
SchemaMigration is an object representing the database table.
Task is an object representing the database table.
User is an object representing the database table.
# Type aliases
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
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author