# Interface FunSQL with LibPQ using DBInterface

**URL:** <https://discourse.julialang.org/t/interface-funsql-with-libpq-using-dbinterface/99635>\
**Category:** General Usage\
**Tags:** package\
**Created:** [May 30, 2023, 10:35pm UTC](https://discourse.julialang.org/t/interface-funsql-with-libpq-using-dbinterface/99635 "2023-05-30T22:35:01Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Jake](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jake/32/46007_2.png) [@Jake](https://discourse.julialang.org/u/Jake)\
**Post date:** [July 5, 2023, 3:10pm UTC](https://discourse.julialang.org/t/interface-funsql-with-libpq-using-dbinterface/99635/4 "2023-07-05T15:10:23Z")

</div>

Now that I have the database open and can interact with it, I am having problems closing the Database. I am not sure where to go from here.

```julia
julia> close(conn)
ERROR: MethodError: no method matching close(::FunSQL.SQLConnection{LibPQ.Connection})

or 

julia> DBInterface.close(conn)
ERROR: MethodError: no method matching close(::FunSQL.SQLConnection{LibPQ.Connection})

or 

julia> DBInterface.close!(conn)
ERROR: MethodError: no method matching close!(::LibPQ.Connection)

```

---

_[View the full topic](https://discourse.julialang.org/t/interface-funsql-with-libpq-using-dbinterface/99635)._
