Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnj authored and iamed2 committed Aug 17, 2024
1 parent 36d6b24 commit 0427a2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/dbinterface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ DBInterface.connect(::Type{Connection}, args...; kws...) = DBConnection(Connecti
DBInterface.prepare(conn::DBConnection, args...; kws...) = prepare(conn.conn, args...; kws...)
DBInterface.execute(conn::DBConnection, args...; kws...) = execute(conn.conn, args...; kws...)
DBInterface.execute(conn::DBConnection, str::AbstractString; kws...) = execute(conn.conn, str; kws...)
DBInterface.execute(conn::DBConnection, str::AbstractString, params; kws...) = execute(conn.conn, str, params; kws...)
DBInterface.execute(stmt::Statement, args...; kws...) = execute(stmt, args...; kws...)
DBInterface.close!(conn::DBConnection) = close(conn)
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1912,7 +1912,7 @@ end

@testset "DBInterface integration" begin
conn = DBInterface.connect(LibPQ.Connection, "dbname=postgres user=$DATABASE_USER")
@test conn isa LibPQ.Connection
@test conn isa LibPQ.DBConnection

result = DBInterface.execute(
conn,
Expand Down

0 comments on commit 0427a2c

Please sign in to comment.