{"repo":"MrSametBurgazoglu/enterprise","free":true,"listed":false,"github":"https://github.com/MrSametBurgazoglu/enterprise","clone":"git clone https://github.com/MrSametBurgazoglu/enterprise.git","description":"New ORM for Golang Postgresql","language":"Go","stars":17,"topics":["golang","orm","postgresql","go"],"license":"GPL-3.0","category":"databases-storage","readme_excerpt":"enterprise Atılgan aka Enterprise is a new ORM for postgresql databases. For speed and lightness. Features - A small number of auto generated database model structs and methods - Create, Get, Update, Delete and List functions on table - It can load Relation tables and filter them with single query - Developer friendly helper methods on models - Simple aggregate functionality - Simple transaction commit and rollback - Customizable hooks - Atlas migrations - Unique Relation system - Fastest ORM in golang for postgresql Generating Models First create a package. Create one file for every table. The function name and file name should match. After write your models. We recommend to create a new package with name generate and put a generate.go for generating models you want. It will go to create a models package and write files in to it. For examples Enterprise Example. Migration For migration we recommend to create a migrate named package and put this script into it. Execute the script and it will create a directory called migrations and write raw sql for migration. Further questions please look to Atlas. RoadMap Version 1.0.0 Roadmap V0.1.0-alpha - [x] Add simple unit tests - [x] Hook system functions to every model db operation. - [x] Pk and fk on migration table V0.1.0 - [x] Add bulk Insert V0.2.0 - [x] Choose Join Type V0.3.0 - [x] Json field - [x] []byte field V0.4.0 - [x] Use different clients on Read and Write db operations V0.5.0 - [x] Custom go type on DB V0.6.0 - [x] Nest","default_branch":null,"files":null,"tree":[],"storefront":"/r/MrSametBurgazoglu","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MrSametBurgazoglu/enterprise/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}