postgleam/copy
Values
pub fn copy_in(
state: connection.ConnectionState,
sql: String,
data: List(BitArray),
timeout: Int,
) -> Result(#(String, connection.ConnectionState), error.Error)
COPY data to a table from text-format data rows
pub fn copy_out(
state: connection.ConnectionState,
sql: String,
timeout: Int,
) -> Result(
#(List(BitArray), connection.ConnectionState),
error.Error,
)
COPY data from a table to the client