Golang News http://golangnews.com Jobs, Code, Videos and News for Go hackers - everything about the go programming language Fri, 17 Aug 2018 11:02:00 +0000 One process programming #sqlite #ops 14 points posted by lolly https://crawshaw.io/blog/one-process-programming-notes 3469 Thu, 02 Aug 2018 14:05:00 +0000 Query - an SQL query builder #db #sql Query lets you build SQL queries with chainable methods, and defer execution of SQL until you wish to extract a count or array of models. It will probably remain limited in scope - it is not intended to be a full ORM with strict mapping between db tables and structs, but a tool for querying the database with minimum friction, and performing CRUD operations linked to models; simplifying your use of SQL to store model data without getting in the way. Full or partial SQL queries are of course also available, and full control over sql. Model creation and column are delegated to the model, to avoid dictating any particular model structure or interface, however a suggested interface is given (see below and in tests), which makes usage painless in your handlers without any boilerplate. 12 points posted by kenny https://github.com/fragmenta/query 918 Thu, 30 Jun 2016 13:50:00 +0000 textql - execute SQL against structured text like CSV or TSV #sql #data Execute SQL against structured text like CSV or TSV by dinedal 11 points posted by kenny https://github.com/dinedal/textql 1530 Sat, 14 Jan 2017 07:08:00 +0000 Gitql - SQL interface to Git repositories #sql 11 points posted by drogo https://github.com/gitql/gitql 1305 Sat, 03 Dec 2016 13:28:00 +0000 Organising database access in Go #db #sql #orms <div>I think the right answer depends on the project.</div><div><br></div><div>What's the overall structure and size of the project? What's your approach to testing? How is it likely to grow in the future? All these things and more should play a part when you pick an approach to take.</div><div><br></div><div>So in this post I'll take a look at four different methods for organising your code and structuring access to your database connection pool.</div> 11 points posted by kenny http://www.alexedwards.net/blog/organising-database-access 888 Sat, 11 Jun 2016 18:52:00 +0000 sqlite - an embeddable, transactional SQL database engine in Go #sql #sqlite Package sqlite is an in-process implementation of a self-contained, serverless, zero-configuration, transactional SQL database engine. (Work In Progress) 10 points posted by kenny https://github.com/cznic/sqlite 2111 Fri, 21 Apr 2017 08:15:00 +0000 gitql - a git query language #sql See also <a href="https://github.com/cloudson/gitql">https://github.com/cloudson/gitql</a>, which is an earlier version of the same idea. 8 points posted by kenny https://github.com/gitql/gitql 1355 Wed, 14 Dec 2016 13:23:00 +0000 usql is a universal command-line interface for SQL databases #sql #cli usql is a universal command-line interface for working with SQL databases. usql provides a universal command line interface for the following databases: PostgreSQL, MySQL, Oracle, SQLite, and Microsoft SQL Server. The goal is to eventually have usql be a drop in replacement for PostgreSQL's psql command, with all the bells/whistles, but with the added benefit of working with more than one database. 7 points posted by kenny https://github.com/knq/usql 1871 Sat, 04 Mar 2017 21:09:00 +0000 DBShield - a database firewall in Go #data #sql Database firewall written in Go by nim4 7 points posted by kenny https://github.com/nim4/DBShield 1743 Wed, 15 Feb 2017 07:12:00 +0000 sqlrow #sql This package is intended for programmers who are comfortable with writing SQL, but would like assistance with the sometimes tedious process of preparing SELECT, INSERT, and UPDATE statements for tables that have a large number of columns. 6 points posted by jjeffery https://github.com/jjeffery/sqlrow 1109 Wed, 28 Sep 2016 22:19:00 +0000 sqlm - a minimalist sql query builder, no more Sprintf & %s etc. #sql 6 points posted by shuoli https://github.com/shuoli84/sqlm 1063 Mon, 12 Sep 2016 16:09:00 +0000 xsql - SQL Query Results Pretty Printing #sql 5 points posted by Donutloop https://github.com/shomali11/xsql 2862 Sat, 28 Oct 2017 20:01:00 +0000 Querying for a single record using Go's sql package #sql #data 5 points posted by gopher https://www.calhoun.io/querying-for-a-single-record-using-gos-database-sql-package 1938 Wed, 15 Mar 2017 20:24:00 +0000 SQLBoiler - generate a Go ORM from a database schema #sql SQLBoiler by vattle is a tool to generate a Go ORM tailored to your database schema - set up your database first, and generate models which access it. 4 points posted by kenny https://github.com/vattle/sqlboiler 1601 Sun, 22 Jan 2017 22:07:00 +0000 Graphql with go and postgresql #sql 4 points posted by andythomas http://alexandrutopliceanu.ro/post/graphql-with-go-and-postgresql 1598 Sun, 22 Jan 2017 17:11:00 +0000 Pop - CRUD operations, run migrations, and build/execute queries in Go #sql So what does Pop do exactly? Well, it wraps the absolutely amazing https://github.com/jmoiron/sqlx library. It cleans up some of the common patterns and workflows usually associated with dealing with databases in Go. 4 points posted by andythomas https://github.com/markbates/pop 1462 Wed, 04 Jan 2017 13:40:00 +0000 Using a SQLite Database for Local Data in a Golang Application #sql 3 points posted by nraboy https://www.thepolyglotdeveloper.com/2017/04/using-sqlite-database-golang-application 2125 Tue, 25 Apr 2017 18:24:00 +0000