File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 1
- DBInterface. connect (:: Type{Connection} , args... ; kws... ) = Connection (args... ; kws... )
2
-
3
- DBInterface. prepare (conn:: Connection , args... ; kws... ) = prepare (conn, args... ; kws... )
4
-
5
- function DBInterface. execute (conn:: Union{Connection,Statement} , args... ; kws... )
6
- return execute (conn, args... ; kws... )
1
+ struct DBConnection <: DBInterface.Connection
2
+ conn:: Connection
7
3
end
8
4
9
- DBInterface. close! (conn:: Connection ) = close (conn)
5
+ DBInterface. connect (:: Type{Connection} , args... ; kws... ) = DBConnection (Connection (args... ; kws... ))
6
+ DBInterface. prepare (conn:: DBConnection , args... ; kws... ) = prepare (conn. conn, args... ; kws... )
7
+ DBInterface. execute (conn:: DBConnection , args... ; kws... ) = execute (conn. conn, args... ; kws... )
8
+ DBInterface. execute (conn:: DBConnection , str:: AbstractString ; kws... ) = execute (conn. conn, str; kws... )
9
+ DBInterface. execute (stmt:: Statement , args... ; kws... ) = execute (stmt, args... ; kws... )
10
+ DBInterface. close! (conn:: DBConnection ) = close (conn)
You can’t perform that action at this time.
0 commit comments