Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Migrate | 11,589 | 594 | a day ago | 129 | March 17, 2022 | 273 | other | Go | ||
Database migrations. CLI and Golang library. | ||||||||||
Pq | 8,095 | 6,115 | 7,691 | 9 days ago | 47 | September 06, 2022 | 298 | mit | Go | |
Pure Go Postgres driver for database/sql | ||||||||||
Usql | 8,081 | 2 | 9 | 4 days ago | 125 | August 26, 2022 | 63 | mit | Go | |
Universal command-line interface for SQL databases | ||||||||||
Yugabyte Db | 7,844 | a day ago | 5,113 | other | C | |||||
YugabyteDB - the cloud native distributed SQL database for mission-critical applications. | ||||||||||
Pgx | 7,241 | 2,038 | 2 days ago | 112 | September 03, 2022 | 107 | mit | Go | ||
PostgreSQL driver and toolkit for Go | ||||||||||
Postgres | 4,655 | 3 | 77 | 3 days ago | 32 | May 25, 2022 | 62 | unlicense | JavaScript | |
Postgres.js - The Fastest full featured PostgreSQL client for Node.js and Deno | ||||||||||
Psycopg2 | 2,949 | 59,606 | 1,434 | 2 days ago | 53 | December 29, 2021 | 19 | other | C | |
PostgreSQL database adapter for the Python programming language | ||||||||||
Sqler | 1,918 | 2 years ago | 2 | July 12, 2021 | apache-2.0 | Go | ||||
write APIs using direct SQL queries with no hassle, let's rethink about SQL | ||||||||||
Pgjdbc | 1,266 | 26,004 | 1,680 | 11 days ago | 159 | May 24, 2022 | 425 | bsd-2-clause | Java | |
Postgresql JDBC Driver | ||||||||||
Vscode Sqltools | 1,197 | 1 | 27 | a month ago | 12 | March 21, 2021 | 166 | mit | TypeScript | |
Database management for VSCode |
A "crystal-db"-compliant postgres driver
shards.yml
file:dependencies:
pq:
github: abidon/crystal-pq
branch: master
require "db"
require "pq"
DB.open "postgres://localhost:5432/mydb?prepared_statements=false" do |db|
db.exec "INSERT INTO persons(firstname, lastname) VALUES ($1, $2)", "John", "Doe"
end
Note: At the moment, only unprepared statements have been implemented, you'll need to add the ?prepared_statements=false
at the end of the connection string to make it work properly.
Copyright 2017 Aurélien Bidon ([email protected])
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.