Skip to content

saravase/golang_postgres_orm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

golang_postgres_orm

Golang:

Go is a statically typed, compiled programming language designed at Google by Robert Griesemer, Rob Pike, and Ken Thompson. Go is syntactically similar to C, but with memory safety, garbage collection, structural typing, and CSP-style concurrency

PostgreSQL:

PostgreSQL is a powerful, open source object-relational database system with over 30 years of active development that has earned it a strong reputation for reliability, feature robustness, and performance

Object-relational Mappers (ORMs)

An object-relational mapper (ORM) is a code library that automates the transfer of data stored in relational database tables into objects that are more commonly used in application code.

Used Packages:

  • github.com/go-pg/pg
  • github.com/go-pg/pg/orm
  • log
  • time
  • os

Implemented ORM functions:

  1. CreatePlantInfoTable
  2. Save
  3. SaveAndReturn
  4. SaveMultiple
  5. UpdatePlantItem
  6. DeletePlantItem
  7. DeletePlantItemUsingTransaction
  8. GetPlantByID
  9. GetPlantByIDAndName
  10. GetPlantOrderByName

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages