tables

package
v0.0.0-...-baf4ea5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Code generated by 'sqgen-postgres functions'; DO NOT EDIT.

Code generated by 'sqgen-postgres tables'; DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FUNCTION_ACCEPT_APPLICATION

type FUNCTION_ACCEPT_APPLICATION struct {
	*sq.FunctionInfo
	TEAM_ID           sq.NumberField
	STUDENT_USER_ID_1 sq.NumberField
	STUDENT_USER_ID_2 sq.NumberField
}

FUNCTION_ACCEPT_APPLICATION references the app.accept_application function.

func ACCEPT_APPLICATION

func ACCEPT_APPLICATION(
	arg_application_id int,
	arg_default_name string,
) FUNCTION_ACCEPT_APPLICATION

ACCEPT_APPLICATION creates an instance of the app.accept_application function.

func ACCEPT_APPLICATION_

func ACCEPT_APPLICATION_(
	arg_application_id interface{},
	arg_default_name interface{},
) FUNCTION_ACCEPT_APPLICATION

ACCEPT_APPLICATION_ creates an instance of the app.accept_application function.

func (FUNCTION_ACCEPT_APPLICATION) As

As modifies the alias of the underlying function.

type FUNCTION_CREATE_USER_ROLE

type FUNCTION_CREATE_USER_ROLE struct {
	*sq.FunctionInfo
	USER_ID         sq.NumberField
	DISPLAYNAME     sq.StringField
	EMAIL           sq.StringField
	ROLES           sq.ArrayField
	ALREADY_CREATED sq.BooleanField
}

FUNCTION_CREATE_USER_ROLE references the app.create_user_role function.

func CREATE_USER_ROLE

func CREATE_USER_ROLE(
	arg_cohort string,
	arg_role string,
	arg_displayname string,
	arg_email string,
) FUNCTION_CREATE_USER_ROLE

CREATE_USER_ROLE creates an instance of the app.create_user_role function.

func CREATE_USER_ROLE_

func CREATE_USER_ROLE_(
	arg_cohort interface{},
	arg_role interface{},
	arg_displayname interface{},
	arg_email interface{},
) FUNCTION_CREATE_USER_ROLE

CREATE_USER_ROLE_ creates an instance of the app.create_user_role function.

func (FUNCTION_CREATE_USER_ROLE) As

As modifies the alias of the underlying function.

type FUNCTION_IDEMPOTENT_CREATE_APPLICATION

type FUNCTION_IDEMPOTENT_CREATE_APPLICATION struct {
	*sq.FunctionInfo
	USER_ID        sq.NumberField
	USER_ROLE_ID   sq.NumberField
	APPLICATION_ID sq.NumberField
	MAGICSTRING    sq.StringField
}

FUNCTION_IDEMPOTENT_CREATE_APPLICATION references the app.idempotent_create_application function.

func IDEMPOTENT_CREATE_APPLICATION

func IDEMPOTENT_CREATE_APPLICATION(
	arg_displayname string,
	arg_email string,
) FUNCTION_IDEMPOTENT_CREATE_APPLICATION

IDEMPOTENT_CREATE_APPLICATION creates an instance of the app.idempotent_create_application function.

func IDEMPOTENT_CREATE_APPLICATION_

func IDEMPOTENT_CREATE_APPLICATION_(
	arg_displayname interface{},
	arg_email interface{},
) FUNCTION_IDEMPOTENT_CREATE_APPLICATION

IDEMPOTENT_CREATE_APPLICATION_ creates an instance of the app.idempotent_create_application function.

func (FUNCTION_IDEMPOTENT_CREATE_APPLICATION) As

As modifies the alias of the underlying function.

type FUNCTION_JOIN_APPLICATION

type FUNCTION_JOIN_APPLICATION struct {
	*sq.FunctionInfo
	USER_ID        sq.NumberField
	USER_ROLE_ID   sq.NumberField
	APPLICATION_ID sq.NumberField
}

FUNCTION_JOIN_APPLICATION references the app.join_application function.

func JOIN_APPLICATION

func JOIN_APPLICATION(
	arg_displayname string,
	arg_email string,
	arg_magicstring string,
) FUNCTION_JOIN_APPLICATION

JOIN_APPLICATION creates an instance of the app.join_application function.

func JOIN_APPLICATION_

func JOIN_APPLICATION_(
	arg_displayname interface{},
	arg_email interface{},
	arg_magicstring interface{},
) FUNCTION_JOIN_APPLICATION

JOIN_APPLICATION_ creates an instance of the app.join_application function.

func (FUNCTION_JOIN_APPLICATION) As

As modifies the alias of the underlying function.

type FUNCTION_LEAVE_APPLICATION

type FUNCTION_LEAVE_APPLICATION struct {
	*sq.FunctionInfo
	USER_ID        sq.NumberField
	USER_ROLE_ID   sq.NumberField
	APPLICATION_ID sq.NumberField
	MAGICSTRING    sq.StringField
}

FUNCTION_LEAVE_APPLICATION references the app.leave_application function.

func LEAVE_APPLICATION

func LEAVE_APPLICATION(
	arg_user_id int,
) FUNCTION_LEAVE_APPLICATION

LEAVE_APPLICATION creates an instance of the app.leave_application function.

func LEAVE_APPLICATION_

func LEAVE_APPLICATION_(
	arg_user_id interface{},
) FUNCTION_LEAVE_APPLICATION

LEAVE_APPLICATION_ creates an instance of the app.leave_application function.

func (FUNCTION_LEAVE_APPLICATION) As

As modifies the alias of the underlying function.

type FUNCTION_SET_SESSION

type FUNCTION_SET_SESSION struct {
	*sq.FunctionInfo
	USER_ID sq.NumberField
}

FUNCTION_SET_SESSION references the app.set_session function.

func SET_SESSION

func SET_SESSION(
	arg_hash string,
	arg_email string,
) FUNCTION_SET_SESSION

SET_SESSION creates an instance of the app.set_session function.

func SET_SESSION_

func SET_SESSION_(
	arg_hash interface{},
	arg_email interface{},
) FUNCTION_SET_SESSION

SET_SESSION_ creates an instance of the app.set_session function.

func (FUNCTION_SET_SESSION) As

As modifies the alias of the underlying function.

type FUNCTION_UNDO_ACCEPT_APPLICATION

type FUNCTION_UNDO_ACCEPT_APPLICATION struct {
	*sq.FunctionInfo
}

FUNCTION_UNDO_ACCEPT_APPLICATION references the app.undo_accept_application function.

func UNDO_ACCEPT_APPLICATION

func UNDO_ACCEPT_APPLICATION(
	arg_application_id int,
) FUNCTION_UNDO_ACCEPT_APPLICATION

UNDO_ACCEPT_APPLICATION creates an instance of the app.undo_accept_application function.

func UNDO_ACCEPT_APPLICATION_

func UNDO_ACCEPT_APPLICATION_(
	arg_application_id interface{},
) FUNCTION_UNDO_ACCEPT_APPLICATION

UNDO_ACCEPT_APPLICATION_ creates an instance of the app.undo_accept_application function.

func (FUNCTION_UNDO_ACCEPT_APPLICATION) As

As modifies the alias of the underlying function.

type FUNCTION_UPDATE_TEAM

type FUNCTION_UPDATE_TEAM struct {
	*sq.FunctionInfo
}

FUNCTION_UPDATE_TEAM references the app.update_team function.

func UPDATE_TEAM

func UPDATE_TEAM(
	arg_team_id int,
	arg_status string,
	arg_team_name string,
	arg_project_level string,
	arg_student_user_id_1 int,
	arg_student_user_id_2 int,
	arg_adviser_user_id int,
	arg_mentor_user_id int,
) FUNCTION_UPDATE_TEAM

UPDATE_TEAM creates an instance of the app.update_team function.

func UPDATE_TEAM_

func UPDATE_TEAM_(
	arg_team_id interface{},
	arg_status interface{},
	arg_team_name interface{},
	arg_project_level interface{},
	arg_student_user_id_1 interface{},
	arg_student_user_id_2 interface{},
	arg_adviser_user_id interface{},
	arg_mentor_user_id interface{},
) FUNCTION_UPDATE_TEAM

UPDATE_TEAM_ creates an instance of the app.update_team function.

func (FUNCTION_UPDATE_TEAM) As

As modifies the alias of the underlying function.

type FUNCTION_UPSERT_APPLICATION_DATA

type FUNCTION_UPSERT_APPLICATION_DATA struct {
	*sq.FunctionInfo
	APPLICATION_ID sq.NumberField
}

FUNCTION_UPSERT_APPLICATION_DATA references the app.upsert_application_data function.

func UPSERT_APPLICATION_DATA

func UPSERT_APPLICATION_DATA(
	arg_user_role_id int,
	arg_applicant_data interface{},
	arg_application_data interface{},
) FUNCTION_UPSERT_APPLICATION_DATA

UPSERT_APPLICATION_DATA creates an instance of the app.upsert_application_data function.

func UPSERT_APPLICATION_DATA_

func UPSERT_APPLICATION_DATA_(
	arg_user_role_id interface{},
	arg_applicant_data interface{},
	arg_application_data interface{},
) FUNCTION_UPSERT_APPLICATION_DATA

UPSERT_APPLICATION_DATA_ creates an instance of the app.upsert_application_data function.

func (FUNCTION_UPSERT_APPLICATION_DATA) As

As modifies the alias of the underlying function.

type FUNCTION_UPSERT_EVALUATION

type FUNCTION_UPSERT_EVALUATION struct {
	*sq.FunctionInfo
	TEAM_EVALUATION_ID sq.NumberField
}

FUNCTION_UPSERT_EVALUATION references the app.upsert_evaluation function.

func UPSERT_EVALUATION

func UPSERT_EVALUATION(
	arg_milestone string,
	arg_evaluator_team_id int,
	arg_evaluatee_submission_id int,
	arg_evaluation_data interface{},
) FUNCTION_UPSERT_EVALUATION

UPSERT_EVALUATION creates an instance of the app.upsert_evaluation function.

func UPSERT_EVALUATION_

func UPSERT_EVALUATION_(
	arg_milestone interface{},
	arg_evaluator_team_id interface{},
	arg_evaluatee_submission_id interface{},
	arg_evaluation_data interface{},
) FUNCTION_UPSERT_EVALUATION

UPSERT_EVALUATION_ creates an instance of the app.upsert_evaluation function.

func (FUNCTION_UPSERT_EVALUATION) As

As modifies the alias of the underlying function.

type FUNCTION_UPSERT_FORM

type FUNCTION_UPSERT_FORM struct {
	*sq.FunctionInfo
	FORM_ID sq.NumberField
}

FUNCTION_UPSERT_FORM references the app.upsert_form function.

func UPSERT_FORM

func UPSERT_FORM(
	arg_period_id int,
	arg_cohort string,
	arg_stage string,
	arg_milestone string,
	arg_name string,
	arg_subsection string,
) FUNCTION_UPSERT_FORM

UPSERT_FORM creates an instance of the app.upsert_form function.

func UPSERT_FORM_

func UPSERT_FORM_(
	arg_period_id interface{},
	arg_cohort interface{},
	arg_stage interface{},
	arg_milestone interface{},
	arg_name interface{},
	arg_subsection interface{},
) FUNCTION_UPSERT_FORM

UPSERT_FORM_ creates an instance of the app.upsert_form function.

func (FUNCTION_UPSERT_FORM) As

As modifies the alias of the underlying function.

type FUNCTION_UPSERT_SUBMISSION

type FUNCTION_UPSERT_SUBMISSION struct {
	*sq.FunctionInfo
	SUBMISSION_ID sq.NumberField
}

FUNCTION_UPSERT_SUBMISSION references the app.upsert_submission function.

func UPSERT_SUBMISSION

func UPSERT_SUBMISSION(
	arg_cohort string,
	arg_milestone string,
	arg_user_id int,
	arg_submission_data interface{},
) FUNCTION_UPSERT_SUBMISSION

UPSERT_SUBMISSION creates an instance of the app.upsert_submission function.

func UPSERT_SUBMISSION_

func UPSERT_SUBMISSION_(
	arg_cohort interface{},
	arg_milestone interface{},
	arg_user_id interface{},
	arg_submission_data interface{},
) FUNCTION_UPSERT_SUBMISSION

UPSERT_SUBMISSION_ creates an instance of the app.upsert_submission function.

func (FUNCTION_UPSERT_SUBMISSION) As

As modifies the alias of the underlying function.

type TABLE_APPLICATIONS

type TABLE_APPLICATIONS struct {
	*sq.TableInfo
	APPLICATION_DATA     sq.JSONField
	APPLICATION_FORM_ID  sq.NumberField
	APPLICATION_ID       sq.NumberField
	COHORT               sq.StringField
	CREATED_AT           sq.TimeField
	CREATOR_USER_ROLE_ID sq.NumberField
	DELETED_AT           sq.TimeField
	MAGICSTRING          sq.StringField
	PROJECT_IDEA         sq.StringField
	PROJECT_LEVEL        sq.StringField
	STATUS               sq.StringField
	SUBMITTED            sq.BooleanField
	TEAM_ID              sq.NumberField
	TEAM_NAME            sq.StringField
	UPDATED_AT           sq.TimeField
}

TABLE_APPLICATIONS references the public.applications table.

func APPLICATIONS

func APPLICATIONS() TABLE_APPLICATIONS

APPLICATIONS creates an instance of the public.applications table.

func (TABLE_APPLICATIONS) As

As modifies the alias of the underlying table.

type TABLE_APPLICATIONS_STATUS_ENUM

type TABLE_APPLICATIONS_STATUS_ENUM struct {
	*sq.TableInfo
	STATUS sq.StringField
}

TABLE_APPLICATIONS_STATUS_ENUM references the public.applications_status_enum table.

func APPLICATIONS_STATUS_ENUM

func APPLICATIONS_STATUS_ENUM() TABLE_APPLICATIONS_STATUS_ENUM

APPLICATIONS_STATUS_ENUM creates an instance of the public.applications_status_enum table.

func (TABLE_APPLICATIONS_STATUS_ENUM) As

As modifies the alias of the underlying table.

type TABLE_COHORT_ENUM

type TABLE_COHORT_ENUM struct {
	*sq.TableInfo
	COHORT          sq.StringField
	INSERTION_ORDER sq.NumberField
}

TABLE_COHORT_ENUM references the public.cohort_enum table.

func COHORT_ENUM

func COHORT_ENUM() TABLE_COHORT_ENUM

COHORT_ENUM creates an instance of the public.cohort_enum table.

func (TABLE_COHORT_ENUM) As

As modifies the alias of the underlying table.

type TABLE_FEEDBACK_ON_TEAMS

type TABLE_FEEDBACK_ON_TEAMS struct {
	*sq.TableInfo
	CREATED_AT          sq.TimeField
	DELETED_AT          sq.TimeField
	EVALUATEE_TEAM_ID   sq.NumberField
	EVALUATOR_TEAM_ID   sq.NumberField
	FEEDBACK_DATA       sq.JSONField
	FEEDBACK_FORM_ID    sq.NumberField
	FEEDBACK_ID_ON_TEAM sq.NumberField
	OVERRIDE_OPEN       sq.BooleanField
	SUBMITTED           sq.BooleanField
	UPDATED_AT          sq.TimeField
}

TABLE_FEEDBACK_ON_TEAMS references the public.feedback_on_teams table.

func FEEDBACK_ON_TEAMS

func FEEDBACK_ON_TEAMS() TABLE_FEEDBACK_ON_TEAMS

FEEDBACK_ON_TEAMS creates an instance of the public.feedback_on_teams table.

func (TABLE_FEEDBACK_ON_TEAMS) As

As modifies the alias of the underlying table.

type TABLE_FEEDBACK_ON_USERS

type TABLE_FEEDBACK_ON_USERS struct {
	*sq.TableInfo
	CREATED_AT             sq.TimeField
	DELETED_AT             sq.TimeField
	EVALUATEE_USER_ROLE_ID sq.NumberField
	EVALUATOR_TEAM_ID      sq.NumberField
	FEEDBACK_DATA          sq.JSONField
	FEEDBACK_FORM_ID       sq.NumberField
	FEEDBACK_ID_ON_USER    sq.NumberField
	OVERRIDE_OPEN          sq.BooleanField
	SUBMITTED              sq.BooleanField
	UPDATED_AT             sq.TimeField
}

TABLE_FEEDBACK_ON_USERS references the public.feedback_on_users table.

func FEEDBACK_ON_USERS

func FEEDBACK_ON_USERS() TABLE_FEEDBACK_ON_USERS

FEEDBACK_ON_USERS creates an instance of the public.feedback_on_users table.

func (TABLE_FEEDBACK_ON_USERS) As

As modifies the alias of the underlying table.

type TABLE_FORMS

type TABLE_FORMS struct {
	*sq.TableInfo
	CREATED_AT sq.TimeField
	DELETED_AT sq.TimeField
	FORM_ID    sq.NumberField
	NAME       sq.StringField
	PERIOD_ID  sq.NumberField
	QUESTIONS  sq.JSONField
	SUBSECTION sq.StringField
	UPDATED_AT sq.TimeField
}

TABLE_FORMS references the public.forms table.

func FORMS

func FORMS() TABLE_FORMS

FORMS creates an instance of the public.forms table.

func (TABLE_FORMS) As

func (tbl TABLE_FORMS) As(alias string) TABLE_FORMS

As modifies the alias of the underlying table.

type TABLE_FORMS_AUTHORIZED_ROLES

type TABLE_FORMS_AUTHORIZED_ROLES struct {
	*sq.TableInfo
	FORM_ID sq.NumberField
	ROLE    sq.StringField
}

TABLE_FORMS_AUTHORIZED_ROLES references the public.forms_authorized_roles table.

func FORMS_AUTHORIZED_ROLES

func FORMS_AUTHORIZED_ROLES() TABLE_FORMS_AUTHORIZED_ROLES

FORMS_AUTHORIZED_ROLES creates an instance of the public.forms_authorized_roles table.

func (TABLE_FORMS_AUTHORIZED_ROLES) As

As modifies the alias of the underlying table.

type TABLE_MEDIA

type TABLE_MEDIA struct {
	*sq.TableInfo
	CREATED_AT  sq.TimeField
	DATA        sq.BinaryField
	DELETED_AT  sq.TimeField
	DESCRIPTION sq.StringField
	NAME        sq.StringField
	TYPE        sq.StringField
	UPDATED_AT  sq.TimeField
}

TABLE_MEDIA references the public.media table.

func MEDIA

func MEDIA() TABLE_MEDIA

MEDIA creates an instance of the public.media table.

func (TABLE_MEDIA) As

func (tbl TABLE_MEDIA) As(alias string) TABLE_MEDIA

As modifies the alias of the underlying table.

type TABLE_MILESTONE_ENUM

type TABLE_MILESTONE_ENUM struct {
	*sq.TableInfo
	MILESTONE sq.StringField
}

TABLE_MILESTONE_ENUM references the public.milestone_enum table.

func MILESTONE_ENUM

func MILESTONE_ENUM() TABLE_MILESTONE_ENUM

MILESTONE_ENUM creates an instance of the public.milestone_enum table.

func (TABLE_MILESTONE_ENUM) As

As modifies the alias of the underlying table.

type TABLE_MIME_TYPE_ENUM

type TABLE_MIME_TYPE_ENUM struct {
	*sq.TableInfo
	TYPE sq.StringField
}

TABLE_MIME_TYPE_ENUM references the public.mime_type_enum table.

func MIME_TYPE_ENUM

func MIME_TYPE_ENUM() TABLE_MIME_TYPE_ENUM

MIME_TYPE_ENUM creates an instance of the public.mime_type_enum table.

func (TABLE_MIME_TYPE_ENUM) As

As modifies the alias of the underlying table.

type TABLE_PERIODS

type TABLE_PERIODS struct {
	*sq.TableInfo
	COHORT     sq.StringField
	CREATED_AT sq.TimeField
	DELETED_AT sq.TimeField
	END_AT     sq.TimeField
	MILESTONE  sq.StringField
	PERIOD_ID  sq.NumberField
	STAGE      sq.StringField
	START_AT   sq.TimeField
	UPDATED_AT sq.TimeField
}

TABLE_PERIODS references the public.periods table.

func PERIODS

func PERIODS() TABLE_PERIODS

PERIODS creates an instance of the public.periods table.

func (TABLE_PERIODS) As

func (tbl TABLE_PERIODS) As(alias string) TABLE_PERIODS

As modifies the alias of the underlying table.

type TABLE_PROJECT_CATEGORY_ENUM

type TABLE_PROJECT_CATEGORY_ENUM struct {
	*sq.TableInfo
	PROJECT_CATEGORY sq.StringField
}

TABLE_PROJECT_CATEGORY_ENUM references the public.project_category_enum table.

func PROJECT_CATEGORY_ENUM

func PROJECT_CATEGORY_ENUM() TABLE_PROJECT_CATEGORY_ENUM

PROJECT_CATEGORY_ENUM creates an instance of the public.project_category_enum table.

func (TABLE_PROJECT_CATEGORY_ENUM) As

As modifies the alias of the underlying table.

type TABLE_PROJECT_LEVEL_ENUM

type TABLE_PROJECT_LEVEL_ENUM struct {
	*sq.TableInfo
	PROJECT_LEVEL sq.StringField
}

TABLE_PROJECT_LEVEL_ENUM references the public.project_level_enum table.

func PROJECT_LEVEL_ENUM

func PROJECT_LEVEL_ENUM() TABLE_PROJECT_LEVEL_ENUM

PROJECT_LEVEL_ENUM creates an instance of the public.project_level_enum table.

func (TABLE_PROJECT_LEVEL_ENUM) As

As modifies the alias of the underlying table.

type TABLE_ROLE_ENUM

type TABLE_ROLE_ENUM struct {
	*sq.TableInfo
	ROLE sq.StringField
}

TABLE_ROLE_ENUM references the public.role_enum table.

func ROLE_ENUM

func ROLE_ENUM() TABLE_ROLE_ENUM

ROLE_ENUM creates an instance of the public.role_enum table.

func (TABLE_ROLE_ENUM) As

func (tbl TABLE_ROLE_ENUM) As(alias string) TABLE_ROLE_ENUM

As modifies the alias of the underlying table.

type TABLE_SCHEMA_MIGRATIONS

type TABLE_SCHEMA_MIGRATIONS struct {
	*sq.TableInfo
	DIRTY   sq.BooleanField
	VERSION sq.NumberField
}

TABLE_SCHEMA_MIGRATIONS references the public.schema_migrations table.

func SCHEMA_MIGRATIONS

func SCHEMA_MIGRATIONS() TABLE_SCHEMA_MIGRATIONS

SCHEMA_MIGRATIONS creates an instance of the public.schema_migrations table.

func (TABLE_SCHEMA_MIGRATIONS) As

As modifies the alias of the underlying table.

type TABLE_SESSIONS

type TABLE_SESSIONS struct {
	*sq.TableInfo
	CREATED_AT sq.TimeField
	HASH       sq.StringField
	USER_ID    sq.NumberField
}

TABLE_SESSIONS references the public.sessions table.

func SESSIONS

func SESSIONS() TABLE_SESSIONS

SESSIONS creates an instance of the public.sessions table.

func (TABLE_SESSIONS) As

func (tbl TABLE_SESSIONS) As(alias string) TABLE_SESSIONS

As modifies the alias of the underlying table.

type TABLE_STAGE_ENUM

type TABLE_STAGE_ENUM struct {
	*sq.TableInfo
	STAGE sq.StringField
}

TABLE_STAGE_ENUM references the public.stage_enum table.

func STAGE_ENUM

func STAGE_ENUM() TABLE_STAGE_ENUM

STAGE_ENUM creates an instance of the public.stage_enum table.

func (TABLE_STAGE_ENUM) As

As modifies the alias of the underlying table.

type TABLE_SUBMISSIONS

type TABLE_SUBMISSIONS struct {
	*sq.TableInfo
	CREATED_AT         sq.TimeField
	DELETED_AT         sq.TimeField
	OVERRIDE_OPEN      sq.BooleanField
	POSTER             sq.StringField
	README             sq.StringField
	SUBMISSION_DATA    sq.JSONField
	SUBMISSION_FORM_ID sq.NumberField
	SUBMISSION_ID      sq.NumberField
	SUBMITTED          sq.BooleanField
	TEAM_ID            sq.NumberField
	UPDATED_AT         sq.TimeField
	VIDEO              sq.StringField
}

TABLE_SUBMISSIONS references the public.submissions table.

func SUBMISSIONS

func SUBMISSIONS() TABLE_SUBMISSIONS

SUBMISSIONS creates an instance of the public.submissions table.

func (TABLE_SUBMISSIONS) As

As modifies the alias of the underlying table.

type TABLE_SUBMISSIONS_CATEGORIES

type TABLE_SUBMISSIONS_CATEGORIES struct {
	*sq.TableInfo
	CATEGORY      sq.StringField
	SUBMISSION_ID sq.NumberField
}

TABLE_SUBMISSIONS_CATEGORIES references the public.submissions_categories table.

func SUBMISSIONS_CATEGORIES

func SUBMISSIONS_CATEGORIES() TABLE_SUBMISSIONS_CATEGORIES

SUBMISSIONS_CATEGORIES creates an instance of the public.submissions_categories table.

func (TABLE_SUBMISSIONS_CATEGORIES) As

As modifies the alias of the underlying table.

type TABLE_TEAMS

type TABLE_TEAMS struct {
	*sq.TableInfo
	ADVISER_USER_ROLE_ID sq.NumberField
	COHORT               sq.StringField
	CREATED_AT           sq.TimeField
	DELETED_AT           sq.TimeField
	MENTOR_USER_ROLE_ID  sq.NumberField
	PROJECT_IDEA         sq.StringField
	PROJECT_LEVEL        sq.StringField
	STATUS               sq.StringField
	TEAM_DATA            sq.JSONField
	TEAM_ID              sq.NumberField
	TEAM_NAME            sq.StringField
	UPDATED_AT           sq.TimeField
}

TABLE_TEAMS references the public.teams table.

func TEAMS

func TEAMS() TABLE_TEAMS

TEAMS creates an instance of the public.teams table.

func (TABLE_TEAMS) As

func (tbl TABLE_TEAMS) As(alias string) TABLE_TEAMS

As modifies the alias of the underlying table.

type TABLE_TEAMS_STATUS_ENUM

type TABLE_TEAMS_STATUS_ENUM struct {
	*sq.TableInfo
	STATUS sq.StringField
}

TABLE_TEAMS_STATUS_ENUM references the public.teams_status_enum table.

func TEAMS_STATUS_ENUM

func TEAMS_STATUS_ENUM() TABLE_TEAMS_STATUS_ENUM

TEAMS_STATUS_ENUM creates an instance of the public.teams_status_enum table.

func (TABLE_TEAMS_STATUS_ENUM) As

As modifies the alias of the underlying table.

type TABLE_TEAM_EVALUATIONS

type TABLE_TEAM_EVALUATIONS struct {
	*sq.TableInfo
	CREATED_AT              sq.TimeField
	DELETED_AT              sq.TimeField
	EVALUATEE_SUBMISSION_ID sq.NumberField
	EVALUATION_DATA         sq.JSONField
	EVALUATION_FORM_ID      sq.NumberField
	EVALUATOR_TEAM_ID       sq.NumberField
	OVERRIDE_OPEN           sq.BooleanField
	SUBMITTED               sq.BooleanField
	TEAM_EVALUATION_ID      sq.NumberField
	UPDATED_AT              sq.TimeField
}

TABLE_TEAM_EVALUATIONS references the public.team_evaluations table.

func TEAM_EVALUATIONS

func TEAM_EVALUATIONS() TABLE_TEAM_EVALUATIONS

TEAM_EVALUATIONS creates an instance of the public.team_evaluations table.

func (TABLE_TEAM_EVALUATIONS) As

As modifies the alias of the underlying table.

type TABLE_TEAM_EVALUATION_PAIRS

type TABLE_TEAM_EVALUATION_PAIRS struct {
	*sq.TableInfo
	EVALUATEE_TEAM_ID sq.NumberField
	EVALUATOR_TEAM_ID sq.NumberField
}

TABLE_TEAM_EVALUATION_PAIRS references the public.team_evaluation_pairs table.

func TEAM_EVALUATION_PAIRS

func TEAM_EVALUATION_PAIRS() TABLE_TEAM_EVALUATION_PAIRS

TEAM_EVALUATION_PAIRS creates an instance of the public.team_evaluation_pairs table.

func (TABLE_TEAM_EVALUATION_PAIRS) As

As modifies the alias of the underlying table.

type TABLE_USERS

type TABLE_USERS struct {
	*sq.TableInfo
	DISPLAYNAME sq.StringField
	EMAIL       sq.StringField
	PASSWORD    sq.StringField
	USER_ID     sq.NumberField
}

TABLE_USERS references the public.users table.

func USERS

func USERS() TABLE_USERS

USERS creates an instance of the public.users table.

func (TABLE_USERS) As

func (tbl TABLE_USERS) As(alias string) TABLE_USERS

As modifies the alias of the underlying table.

type TABLE_USER_EVALUATIONS

type TABLE_USER_EVALUATIONS struct {
	*sq.TableInfo
	CREATED_AT              sq.TimeField
	DELETED_AT              sq.TimeField
	EVALUATEE_SUBMISSION_ID sq.NumberField
	EVALUATION_DATA         sq.JSONField
	EVALUATION_FORM_ID      sq.NumberField
	EVALUATOR_USER_ROLE_ID  sq.NumberField
	OVERRIDE_OPEN           sq.BooleanField
	SUBMITTED               sq.BooleanField
	UPDATED_AT              sq.TimeField
	USER_EVALUATION_ID      sq.NumberField
}

TABLE_USER_EVALUATIONS references the public.user_evaluations table.

func USER_EVALUATIONS

func USER_EVALUATIONS() TABLE_USER_EVALUATIONS

USER_EVALUATIONS creates an instance of the public.user_evaluations table.

func (TABLE_USER_EVALUATIONS) As

As modifies the alias of the underlying table.

type TABLE_USER_ROLES

type TABLE_USER_ROLES struct {
	*sq.TableInfo
	COHORT       sq.StringField
	CREATED_AT   sq.TimeField
	DELETED_AT   sq.TimeField
	ROLE         sq.StringField
	UPDATED_AT   sq.TimeField
	USER_ID      sq.NumberField
	USER_ROLE_ID sq.NumberField
}

TABLE_USER_ROLES references the public.user_roles table.

func USER_ROLES

func USER_ROLES() TABLE_USER_ROLES

USER_ROLES creates an instance of the public.user_roles table.

func (TABLE_USER_ROLES) As

As modifies the alias of the underlying table.

type TABLE_USER_ROLES_APPLICANTS

type TABLE_USER_ROLES_APPLICANTS struct {
	*sq.TableInfo
	APPLICANT_DATA    sq.JSONField
	APPLICANT_FORM_ID sq.NumberField
	APPLICATION_ID    sq.NumberField
	USER_ROLE_ID      sq.NumberField
}

TABLE_USER_ROLES_APPLICANTS references the public.user_roles_applicants table.

func USER_ROLES_APPLICANTS

func USER_ROLES_APPLICANTS() TABLE_USER_ROLES_APPLICANTS

USER_ROLES_APPLICANTS creates an instance of the public.user_roles_applicants table.

func (TABLE_USER_ROLES_APPLICANTS) As

As modifies the alias of the underlying table.

type TABLE_USER_ROLES_STUDENTS

type TABLE_USER_ROLES_STUDENTS struct {
	*sq.TableInfo
	STUDENT_DATA sq.JSONField
	TEAM_ID      sq.NumberField
	USER_ROLE_ID sq.NumberField
}

TABLE_USER_ROLES_STUDENTS references the public.user_roles_students table.

func USER_ROLES_STUDENTS

func USER_ROLES_STUDENTS() TABLE_USER_ROLES_STUDENTS

USER_ROLES_STUDENTS creates an instance of the public.user_roles_students table.

func (TABLE_USER_ROLES_STUDENTS) As

As modifies the alias of the underlying table.

type VIEW_FUNCS

type VIEW_FUNCS struct {
	*sq.TableInfo
	ARGTYPES sq.StringField
	NAME     sq.StringField
	RESTYPE  sq.StringField
	SCHEMA   sq.StringField
}

VIEW_FUNCS references the public.funcs view.

func FUNCS

func FUNCS() VIEW_FUNCS

FUNCS creates an instance of the public.funcs view.

func (VIEW_FUNCS) As

func (tbl VIEW_FUNCS) As(alias string) VIEW_FUNCS

As modifies the alias of the underlying view.

type VIEW_FUNCSS

type VIEW_FUNCSS struct {
	*sq.TableInfo
	ARGTYPES sq.StringField
	CODE     sq.StringField
	NAME     sq.StringField
	RESTYPE  sq.StringField
	SCHEMA   sq.StringField
}

VIEW_FUNCSS references the public.funcss view.

func FUNCSS

func FUNCSS() VIEW_FUNCSS

FUNCSS creates an instance of the public.funcss view.

func (VIEW_FUNCSS) As

func (tbl VIEW_FUNCSS) As(alias string) VIEW_FUNCSS

As modifies the alias of the underlying view.

type VIEW_PG_ALL_FOREIGN_KEYS

type VIEW_PG_ALL_FOREIGN_KEYS struct {
	*sq.TableInfo
	FK_COLUMNS         sq.ArrayField
	FK_CONSTRAINT_NAME sq.StringField
	FK_SCHEMA_NAME     sq.StringField
	FK_TABLE_NAME      sq.StringField
	FK_TABLE_OID       sq.NumberField
	IS_DEFERRABLE      sq.BooleanField
	IS_DEFERRED        sq.BooleanField
	MATCH_TYPE         sq.StringField
	ON_DELETE          sq.StringField
	ON_UPDATE          sq.StringField
	PK_COLUMNS         sq.ArrayField
	PK_CONSTRAINT_NAME sq.StringField
	PK_INDEX_NAME      sq.StringField
	PK_SCHEMA_NAME     sq.StringField
	PK_TABLE_NAME      sq.StringField
	PK_TABLE_OID       sq.NumberField
}

VIEW_PG_ALL_FOREIGN_KEYS references the public.pg_all_foreign_keys view.

func PG_ALL_FOREIGN_KEYS

func PG_ALL_FOREIGN_KEYS() VIEW_PG_ALL_FOREIGN_KEYS

PG_ALL_FOREIGN_KEYS creates an instance of the public.pg_all_foreign_keys view.

func (VIEW_PG_ALL_FOREIGN_KEYS) As

As modifies the alias of the underlying view.

type VIEW_TAP_FUNKY

type VIEW_TAP_FUNKY struct {
	*sq.TableInfo
	ARGS        sq.StringField
	IS_DEFINER  sq.BooleanField
	IS_STRICT   sq.BooleanField
	IS_VISIBLE  sq.BooleanField
	LANGOID     sq.NumberField
	NAME        sq.StringField
	OID         sq.NumberField
	OWNER       sq.StringField
	RETURNS     sq.StringField
	RETURNS_SET sq.BooleanField
	SCHEMA      sq.StringField
	VOLATILITY  sq.StringField
}

VIEW_TAP_FUNKY references the public.tap_funky view.

func TAP_FUNKY

func TAP_FUNKY() VIEW_TAP_FUNKY

TAP_FUNKY creates an instance of the public.tap_funky view.

func (VIEW_TAP_FUNKY) As

func (tbl VIEW_TAP_FUNKY) As(alias string) VIEW_TAP_FUNKY

As modifies the alias of the underlying view.

type VIEW_VIEWS

type VIEW_VIEWS struct {
	*sq.TableInfo
	NAME   sq.StringField
	SCHEMA sq.StringField
}

VIEW_VIEWS references the public.views view.

func VIEWS

func VIEWS() VIEW_VIEWS

VIEWS creates an instance of the public.views view.

func (VIEW_VIEWS) As

func (tbl VIEW_VIEWS) As(alias string) VIEW_VIEWS

As modifies the alias of the underlying view.

type VIEW_VIEWSS

type VIEW_VIEWSS struct {
	*sq.TableInfo
	CODE   sq.StringField
	NAME   sq.StringField
	SCHEMA sq.StringField
}

VIEW_VIEWSS references the public.viewss view.

func VIEWSS

func VIEWSS() VIEW_VIEWSS

VIEWSS creates an instance of the public.viewss view.

func (VIEW_VIEWSS) As

func (tbl VIEW_VIEWSS) As(alias string) VIEW_VIEWSS

As modifies the alias of the underlying view.

type VIEW_V_APPLICATIONS

type VIEW_V_APPLICATIONS struct {
	*sq.TableInfo
	APPLICANT1_ANSWERS      sq.JSONField
	APPLICANT1_DISPLAYNAME  sq.StringField
	APPLICANT1_EMAIL        sq.StringField
	APPLICANT1_USER_ID      sq.NumberField
	APPLICANT1_USER_ROLE_ID sq.NumberField
	APPLICANT2_ANSWERS      sq.JSONField
	APPLICANT2_DISPLAYNAME  sq.StringField
	APPLICANT2_EMAIL        sq.StringField
	APPLICANT2_USER_ID      sq.NumberField
	APPLICANT2_USER_ROLE_ID sq.NumberField
	APPLICANT_FORM_ID       sq.NumberField
	APPLICANT_QUESTIONS     sq.JSONField
	APPLICATION_ANSWERS     sq.JSONField
	APPLICATION_FORM_ID     sq.NumberField
	APPLICATION_ID          sq.NumberField
	APPLICATION_QUESTIONS   sq.JSONField
	COHORT                  sq.StringField
	CREATED_AT              sq.TimeField
	CREATOR_USER_ROLE_ID    sq.NumberField
	DELETED_AT              sq.TimeField
	MAGICSTRING             sq.StringField
	PROJECT_LEVEL           sq.StringField
	STATUS                  sq.StringField
	SUBMITTED               sq.BooleanField
	UPDATED_AT              sq.TimeField
}

VIEW_V_APPLICATIONS references the app.v_applications view.

func V_APPLICATIONS

func V_APPLICATIONS() VIEW_V_APPLICATIONS

V_APPLICATIONS creates an instance of the app.v_applications view.

func (VIEW_V_APPLICATIONS) As

As modifies the alias of the underlying view.

type VIEW_V_SUBMISSIONS

type VIEW_V_SUBMISSIONS struct {
	*sq.TableInfo
	ANSWERS            sq.JSONField
	COHORT             sq.StringField
	END_AT             sq.TimeField
	MILESTONE          sq.StringField
	OVERRIDE_OPEN      sq.BooleanField
	PROJECT_LEVEL      sq.StringField
	QUESTIONS          sq.JSONField
	START_AT           sq.TimeField
	SUBMISSION_FORM_ID sq.NumberField
	SUBMISSION_ID      sq.NumberField
	SUBMITTED          sq.BooleanField
	TEAM_ID            sq.NumberField
	TEAM_NAME          sq.StringField
	UPDATED_AT         sq.TimeField
}

VIEW_V_SUBMISSIONS references the app.v_submissions view.

func V_SUBMISSIONS

func V_SUBMISSIONS() VIEW_V_SUBMISSIONS

V_SUBMISSIONS creates an instance of the app.v_submissions view.

func (VIEW_V_SUBMISSIONS) As

As modifies the alias of the underlying view.

type VIEW_V_TEAMS

type VIEW_V_TEAMS struct {
	*sq.TableInfo
	ADVISER_DISPLAYNAME   sq.StringField
	ADVISER_EMAIL         sq.StringField
	ADVISER_USER_ID       sq.NumberField
	ADVISER_USER_ROLE_ID  sq.NumberField
	COHORT                sq.StringField
	MENTOR_DISPLAYNAME    sq.StringField
	MENTOR_EMAIL          sq.StringField
	MENTOR_USER_ID        sq.NumberField
	MENTOR_USER_ROLE_ID   sq.NumberField
	PROJECT_LEVEL         sq.StringField
	STATUS                sq.StringField
	STUDENT1_DISPLAYNAME  sq.StringField
	STUDENT1_EMAIL        sq.StringField
	STUDENT1_USER_ID      sq.NumberField
	STUDENT1_USER_ROLE_ID sq.NumberField
	STUDENT2_DISPLAYNAME  sq.StringField
	STUDENT2_EMAIL        sq.StringField
	STUDENT2_USER_ID      sq.NumberField
	STUDENT2_USER_ROLE_ID sq.NumberField
	TEAM_ID               sq.NumberField
	TEAM_NAME             sq.StringField
}

VIEW_V_TEAMS references the app.v_teams view.

func V_TEAMS

func V_TEAMS() VIEW_V_TEAMS

V_TEAMS creates an instance of the app.v_teams view.

func (VIEW_V_TEAMS) As

func (tbl VIEW_V_TEAMS) As(alias string) VIEW_V_TEAMS

As modifies the alias of the underlying view.

type VIEW_V_TEAMS_AND_STUDENTS

type VIEW_V_TEAMS_AND_STUDENTS struct {
	*sq.TableInfo
	ADVISER_USER_ROLE_ID sq.NumberField
	MENTOR_USER_ROLE_ID  sq.NumberField
	PROJECT_LEVEL        sq.StringField
	STUDENT1_DISPLAYNAME sq.StringField
	STUDENT2_DISPLAYNAME sq.StringField
	TEAM_ID              sq.NumberField
	TEAM_NAME            sq.StringField
}

VIEW_V_TEAMS_AND_STUDENTS references the app.v_teams_and_students view.

func V_TEAMS_AND_STUDENTS

func V_TEAMS_AND_STUDENTS() VIEW_V_TEAMS_AND_STUDENTS

V_TEAMS_AND_STUDENTS creates an instance of the app.v_teams_and_students view.

func (VIEW_V_TEAMS_AND_STUDENTS) As

As modifies the alias of the underlying view.

type VIEW_V_TEAM_EVALUATIONS

type VIEW_V_TEAM_EVALUATIONS struct {
	*sq.TableInfo
	COHORT                   sq.StringField
	EVALUATEE_PROJECT_LEVEL  sq.StringField
	EVALUATEE_TEAM_ID        sq.NumberField
	EVALUATEE_TEAM_NAME      sq.StringField
	EVALUATION_ANSWERS       sq.JSONField
	EVALUATION_END_AT        sq.TimeField
	EVALUATION_FORM_ID       sq.NumberField
	EVALUATION_OVERRIDE_OPEN sq.BooleanField
	EVALUATION_QUESTIONS     sq.JSONField
	EVALUATION_START_AT      sq.TimeField
	EVALUATION_SUBMITTED     sq.BooleanField
	EVALUATION_UPDATED_AT    sq.TimeField
	EVALUATOR_PROJECT_LEVEL  sq.StringField
	EVALUATOR_TEAM_ID        sq.NumberField
	EVALUATOR_TEAM_NAME      sq.StringField
	MILESTONE                sq.StringField
	STAGE                    sq.StringField
	SUBMISSION_ANSWERS       sq.JSONField
	SUBMISSION_END_AT        sq.TimeField
	SUBMISSION_FORM_ID       sq.NumberField
	SUBMISSION_ID            sq.NumberField
	SUBMISSION_OVERRIDE_OPEN sq.BooleanField
	SUBMISSION_QUESTIONS     sq.JSONField
	SUBMISSION_START_AT      sq.TimeField
	SUBMISSION_SUBMITTED     sq.BooleanField
	SUBMISSION_UPDATED_AT    sq.TimeField
	TEAM_EVALUATION_ID       sq.NumberField
}

VIEW_V_TEAM_EVALUATIONS references the app.v_team_evaluations view.

func V_TEAM_EVALUATIONS

func V_TEAM_EVALUATIONS() VIEW_V_TEAM_EVALUATIONS

V_TEAM_EVALUATIONS creates an instance of the app.v_team_evaluations view.

func (VIEW_V_TEAM_EVALUATIONS) As

As modifies the alias of the underlying view.

type VIEW_V_USER_EVALUATIONS

type VIEW_V_USER_EVALUATIONS struct {
	*sq.TableInfo
	COHORT                   sq.StringField
	EVALUATEE_PROJECT_LEVEL  sq.StringField
	EVALUATEE_TEAM_ID        sq.NumberField
	EVALUATEE_TEAM_NAME      sq.StringField
	EVALUATION_ANSWERS       sq.JSONField
	EVALUATION_END_AT        sq.TimeField
	EVALUATION_FORM_ID       sq.NumberField
	EVALUATION_OVERRIDE_OPEN sq.BooleanField
	EVALUATION_QUESTIONS     sq.JSONField
	EVALUATION_START_AT      sq.TimeField
	EVALUATION_SUBMITTED     sq.BooleanField
	EVALUATION_UPDATED_AT    sq.TimeField
	EVALUATOR_DISPLAYNAME    sq.StringField
	EVALUATOR_ROLE           sq.StringField
	EVALUATOR_USER_ID        sq.NumberField
	EVALUATOR_USER_ROLE_ID   sq.NumberField
	MILESTONE                sq.StringField
	STAGE                    sq.StringField
	SUBMISSION_ANSWERS       sq.JSONField
	SUBMISSION_END_AT        sq.TimeField
	SUBMISSION_FORM_ID       sq.NumberField
	SUBMISSION_ID            sq.NumberField
	SUBMISSION_OVERRIDE_OPEN sq.BooleanField
	SUBMISSION_QUESTIONS     sq.JSONField
	SUBMISSION_START_AT      sq.TimeField
	SUBMISSION_SUBMITTED     sq.BooleanField
	SUBMISSION_UPDATED_AT    sq.TimeField
	USER_EVALUATION_ID       sq.NumberField
}

VIEW_V_USER_EVALUATIONS references the app.v_user_evaluations view.

func V_USER_EVALUATIONS

func V_USER_EVALUATIONS() VIEW_V_USER_EVALUATIONS

V_USER_EVALUATIONS creates an instance of the app.v_user_evaluations view.

func (VIEW_V_USER_EVALUATIONS) As

As modifies the alias of the underlying view.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL