{"repo":"lqs/sqlingo","free":true,"listed":false,"github":"https://github.com/lqs/sqlingo","clone":"git clone https://github.com/lqs/sqlingo.git","description":"💥 A lightweight DSL & ORM which helps you to write SQL in Go.","language":"Go","stars":454,"topics":["sql-dsl","database","golang","orm","go","mysql","sqlbuilder","postgresql","tidb"],"license":"MIT","category":"databases-storage","readme_excerpt":"sqlingo is a SQL DSL (a.k.a. SQL Builder or ORM) library in Go. It generates code from the database and lets you write SQL queries in an elegant way. Features Auto-generating DSL objects and model structs from the database so you don't need to manually keep things in sync SQL DML (SELECT / INSERT / UPDATE / DELETE) with some advanced SQL query syntaxes Many common errors could be detected at compile time Your can use the features in your editor / IDE, such as autocompleting the fields and queries, or finding the usage of a field or a table Context support Transaction support Interceptor support Golang time.Time is supported now, but you can still use the string type by adding -timeAsString when generating the model Database Support Status Database Status ------------- -------------- MySQL stable PostgreSQL experimental SQLite experimental Tutorial Install and use sqlingo code generator The first step is to generate code from the database. In order to generate code, sqlingo requires your tables are already created in the database. Write your application Here's a demonstration of some simple & advanced usage of sqlingo.","default_branch":null,"files":null,"tree":[],"storefront":"/r/lqs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lqs/sqlingo/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."}