@@ -126,7 +126,8 @@ defmodule EctoLibSql do
126126
127127 Removes the connection from the Rust connection registry and cleans up any resources.
128128 """
129- @ spec disconnect ( Keyword . t ( ) , EctoLibSql.State . t ( ) ) :: :ok | { :error , term ( ) , EctoLibSql.State . t ( ) }
129+ @ spec disconnect ( Keyword . t ( ) , EctoLibSql.State . t ( ) ) ::
130+ :ok | { :error , term ( ) , EctoLibSql.State . t ( ) }
130131 def disconnect ( _opts , % EctoLibSql.State { conn_id: conn_id } = state ) do
131132 EctoLibSql.Native . close_conn ( conn_id , :conn_id , state )
132133 end
@@ -136,7 +137,12 @@ defmodule EctoLibSql do
136137 Executes an SQL query, delegating to transactional or non-transactional logic
137138 depending on the connection state.
138139 """
139- @ spec handle_execute ( EctoLibSql.Query . t ( ) | String . t ( ) , list ( ) , Keyword . t ( ) , EctoLibSql.State . t ( ) ) ::
140+ @ spec handle_execute (
141+ EctoLibSql.Query . t ( ) | String . t ( ) ,
142+ list ( ) ,
143+ Keyword . t ( ) ,
144+ EctoLibSql.State . t ( )
145+ ) ::
140146 { :ok , EctoLibSql.Query . t ( ) , EctoLibSql.Result . t ( ) , EctoLibSql.State . t ( ) }
141147 | { :error , EctoLibSql.Error . t ( ) , EctoLibSql.State . t ( ) }
142148 def handle_execute ( query , args , _opts , % EctoLibSql.State { trx_id: trx_id } = state ) do
0 commit comments