Skip to content

Tags: alicebob/sqlittle

Tags

v1.5.0

Toggle v1.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
let's make a database/sql driver (#32)

* driver skeleton

* comments

* basic tablescan

* '*' is a special token

* parse the query and get the tablename from the SELECT

If it's a SELECT, otherwise we'll complain.

* Update driver/driver.go

Co-Authored-By: Sebastien Binet <binet@cern.ch>

* use the current Go version

* add db.Columns() method

* use the main sqlittle to access the tables

It already has all the details about columns and rows, which can get
weird sometimes.

* don't pretend Exec() works

* support column names in SELECT

It doesn't yet error on invalid column names.

* introduce `SelectDone()`, which can stop iterating

* make rows.Close() stop the iterating, no go routine leak

* don't drop the error for invalid column names

"invalid column" errors will only be returned via rows.Err() for now.

* implement QueryContext instead

* test for QueryRow

Nothing we need to do to support that function, but just a test to be
sure it really works.

* no more autoreadme :(

It doesn't support Go modules. Any alternative?

* add driver to the main README

* comment typo

* be more explicit about the implemented interfaces

Co-authored-by: Sebastien Binet <binet@cern.ch>

v1.4.0

Toggle v1.4.0's commit message
update README

v1.3.4

Toggle v1.3.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #31 from alicebob/refs

support "REFERENCES" in column defs

v1.3.3

Toggle v1.3.3's commit message
support "DEFAULT NULL"

v1.3.2

Toggle v1.3.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #27 from cwimberger/master

Allow column named "replace"

v1.3.1

Toggle v1.3.1's commit message
allow column named "rowid"

v1.3.0

Toggle v1.3.0's commit message
sql: Add support for ON CONFLICT REPLACE

v1.2.0

Toggle v1.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #22 from ecordell/deferrable

Support for deferrable and initially deferred

v1.1.0

Toggle v1.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #19 from mpoindexter/fix-cell-overflow

Fix cell payload overflow

1.0.0

Toggle 1.0.0's commit message
update readme