@@ -3,16 +3,14 @@ defmodule Exqlite.Sqlite3 do
33 The interface to the NIF implementation.
44 """
55
6+ # If the database reference is closed, any prepared statements should be
7+ # dereferenced as well. It is entirely possible that an application does
8+ # not properly remove a stale reference.
69 #
7- # TODO: If the database reference is closed, any prepared statements should be
8- # dereferenced as well. It is entirely possible that an application does
9- # not properly remove a stale reference.
10- #
11- # Will need to add a test for this and think of possible solution.
12- #
10+ # Will need to add a test for this and think of possible solution.
1311
14- # TODO: Need to figure out if we can just stream results where we use this
15- # module as a sink.
12+ # Need to figure out if we can just stream results where we use this
13+ # module as a sink.
1614
1715 alias Exqlite.Sqlite3NIF
1816
@@ -125,8 +123,8 @@ defmodule Exqlite.Sqlite3 do
125123
126124 @ spec fetch_all ( db ( ) , statement ( ) ) :: { :ok , [ row ( ) ] } | { :error , reason ( ) }
127125 def fetch_all ( conn , statement ) do
128- # TODO: Should this be done in the NIF? It can be _much_ faster to build a
129- # list there, but at the expense that it could block other dirty nifs from
126+ # Should this be done in the NIF? It can be _much_ faster to build a list
127+ # there, but at the expense that it could block other dirty nifs from
130128 # getting work done.
131129 #
132130 # For now this just works
@@ -159,7 +157,8 @@ defmodule Exqlite.Sqlite3 do
159157 end
160158
161159 @ doc """
162- Disconnect from database and then reopen as an in-memory database based on the serialized binary.
160+ Disconnect from database and then reopen as an in-memory database based on
161+ the serialized binary.
163162 """
164163 @ spec deserialize ( db ( ) , String . t ( ) , binary ( ) ) :: :ok | { :error , reason ( ) }
165164 def deserialize ( conn , database \\ "main" , serialized ) do
0 commit comments