Skip to content

Commit

Permalink
Remove unnecessary APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Jul 5, 2023
1 parent 72add60 commit 92057c4
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 312 deletions.
32 changes: 0 additions & 32 deletions lib/adbc_arrow_array_stream.ex

This file was deleted.

3 changes: 3 additions & 0 deletions lib/adbc_connection.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ defmodule Adbc.Connection do
Documentation for `Adbc.Connection`.
"""

# TODO: Add prepared queries

@type t :: GenServer.server()
@type result_set :: map

Expand Down Expand Up @@ -242,6 +244,7 @@ defmodule Adbc.Connection do
fun.(stream_ref)
after
# TODO: force release the arrow array stream on the server
# Adbc.Nif.adbc_arrow_array_stream_release(stream_ref)
GenServer.cast(conn, {:unlock, unlock_ref})
end

Expand Down
160 changes: 0 additions & 160 deletions lib/adbc_statement.ex

This file was deleted.

1 change: 0 additions & 1 deletion test/adbc_connection_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ defmodule Adbc.Connection.Test do
use ExUnit.Case
doctest Adbc.Connection

alias Adbc.ArrowArrayStream
alias Adbc.Connection

setup do
Expand Down
119 changes: 0 additions & 119 deletions test/adbc_statement_test.exs

This file was deleted.

0 comments on commit 92057c4

Please sign in to comment.