Documentation ¶
Index ¶
- func CreateMarket(market DataModels.DB_Market) DataModels.CreatedRecordResult
- func CreateMarketSemesterAssociation(marketId primitive.ObjectID, semesterId primitive.ObjectID) DataModels.CreatedRecordResult
- func CreateMealPlan(mealPlan DataModels.DB_MealPlan) DataModels.CreatedRecordResult
- func CreateMealPlanMarketAssociation(mealPlanId primitive.ObjectID, marketId primitive.ObjectID) DataModels.CreatedRecordResult
- func CreateSemester(semester DataModels.DB_Semester) DataModels.CreatedRecordResult
- func CreateUser(user DataModels.DB_User) DataModels.CreatedRecordResult
- func DeleteMarketById(id primitive.ObjectID) []DataModels.NumRecordsAffected
- func DeleteMealPlanById(id primitive.ObjectID) []DataModels.NumRecordsAffected
- func DeleteSemesterById(semesterId string) []DataModels.NumRecordsAffected
- func DeleteUserById(id primitive.ObjectID) DataModels.NumRecordsAffected
- func GetAllMarkets() []DataModels.DB_Market
- func GetAllMealPlans() []DataModels.DB_MealPlan
- func GetAllMealPlansByMarketId(marketId primitive.ObjectID) []DataModels.DB_MealPlan
- func GetAllSemestersByMarketId(marketId primitive.ObjectID) []DataModels.DB_Semester
- func GetAllUsers() []DataModels.DB_User
- func GetMealPlanById(id primitive.ObjectID) DataModels.DB_MealPlan
- func GetSemesterById(semesterId primitive.ObjectID) DataModels.DB_Semester
- func GetUserById(id primitive.ObjectID) DataModels.DB_User
- func UpdateMarket(market DataModels.DB_Market) DataModels.NumRecordsAffected
- func UpdateMealPlan(mealPlan DataModels.DB_MealPlan) DataModels.NumRecordsAffected
- func UpdateSemester(semester DataModels.DB_Semester) DataModels.NumRecordsAffected
- func UpdateUser(user DataModels.DB_User) DataModels.NumRecordsAffected
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMarket ¶
func CreateMarket(market DataModels.DB_Market) DataModels.CreatedRecordResult
func CreateMarketSemesterAssociation ¶
func CreateMarketSemesterAssociation(marketId primitive.ObjectID, semesterId primitive.ObjectID) DataModels.CreatedRecordResult
func CreateMealPlan ¶
func CreateMealPlan(mealPlan DataModels.DB_MealPlan) DataModels.CreatedRecordResult
func CreateMealPlanMarketAssociation ¶
func CreateMealPlanMarketAssociation(mealPlanId primitive.ObjectID, marketId primitive.ObjectID) DataModels.CreatedRecordResult
func CreateSemester ¶
func CreateSemester(semester DataModels.DB_Semester) DataModels.CreatedRecordResult
func CreateUser ¶
func CreateUser(user DataModels.DB_User) DataModels.CreatedRecordResult
func DeleteMarketById ¶
func DeleteMarketById(id primitive.ObjectID) []DataModels.NumRecordsAffected
func DeleteMealPlanById ¶
func DeleteMealPlanById(id primitive.ObjectID) []DataModels.NumRecordsAffected
func DeleteSemesterById ¶
func DeleteSemesterById(semesterId string) []DataModels.NumRecordsAffected
func DeleteUserById ¶
func DeleteUserById(id primitive.ObjectID) DataModels.NumRecordsAffected
func GetAllMarkets ¶
func GetAllMarkets() []DataModels.DB_Market
func GetAllMealPlans ¶
func GetAllMealPlans() []DataModels.DB_MealPlan
func GetAllMealPlansByMarketId ¶
func GetAllMealPlansByMarketId(marketId primitive.ObjectID) []DataModels.DB_MealPlan
func GetAllSemestersByMarketId ¶
func GetAllSemestersByMarketId(marketId primitive.ObjectID) []DataModels.DB_Semester
func GetAllUsers ¶
func GetAllUsers() []DataModels.DB_User
func GetMealPlanById ¶
func GetMealPlanById(id primitive.ObjectID) DataModels.DB_MealPlan
func GetSemesterById ¶
func GetSemesterById(semesterId primitive.ObjectID) DataModels.DB_Semester
func GetUserById ¶
func GetUserById(id primitive.ObjectID) DataModels.DB_User
func UpdateMarket ¶
func UpdateMarket(market DataModels.DB_Market) DataModels.NumRecordsAffected
func UpdateMealPlan ¶
func UpdateMealPlan(mealPlan DataModels.DB_MealPlan) DataModels.NumRecordsAffected
func UpdateSemester ¶
func UpdateSemester(semester DataModels.DB_Semester) DataModels.NumRecordsAffected
func UpdateUser ¶
func UpdateUser(user DataModels.DB_User) DataModels.NumRecordsAffected
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.