Skip to content

swiftstack/postgresql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PostgreSQL

Asynchronous client in pure Swift

.package(url: "https://github.com/swiftstack/postgresql.git", .branch("dev"))

Usage

import PostgreSQL

let client = PostgreSQL.Client(host: "127.0.0.1", port: 5432)
try await client.connect(user: "postgres")
let result = try await client.query("select * from rows;")
print(result)
$ swift run

About

PostgreSQL client in pure Swift

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published