{"repo":"golobby/orm","free":true,"listed":false,"github":"https://github.com/golobby/orm","clone":"git clone https://github.com/golobby/orm.git","description":"A lightweight yet powerful, fast, customizable, type-safe object-relational mapper for the Go programming language.","language":"Go","stars":163,"topics":["orm","orm-framework","golang","object-relational-mapper","database","generics","query-builder","sql","go"],"license":"MIT","category":"databases-storage","readme_excerpt":"Golobby ORM GoLobby ORM is a lightweight yet powerful, fast, customizable, type-safe object-relational mapper for the Go programming language. Table Of Contents Features + Introduction + Creating a new Entity - Conventions Timestamps Column names Primary Key + Initializing ORM + Fetching an entity from a database + Saving entities or Insert/Update + Using raw SQL + Deleting entities + Relationships - HasMany - HasOne - BelongsTo - BelongsToMany - Saving with relation + Query Builder - Finishers All Get Update Delete - Select Column names Table Where Order By Limit Offset First, Latest - Update Where Table Set - Delete Table Where + Database Validations License Introduction GoLobby ORM is an object-relational mapper (ORM) that makes it enjoyable to interact with your database. When using Golobby ORM, each database table has a corresponding \"Entity\" to interact with that table using elegant APIs. Features - Elegant and easy-to-use APIs with the help of Generics. - Type-safety. - Using reflection at startup to be fast during runtime. - No code generation! - Query builder for various query types. - Binding query results to entities. - Supports different kinds of relationship/Association types: - One to one - One to Many - Many to Many Performance You can run performance benchmark against GORM using here are results from my laptop Quick Start The following example demonstrates how to use the GoLobby ORM. Creating a new Entity Let's create a new Entity to represent User in our appl","default_branch":null,"files":null,"tree":[],"storefront":"/r/golobby","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/golobby/orm/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."}