# `ExSqlClient`
[🔗](https://github.com/svan-jansson/ex_sql_client/blob/main/lib/ex_sql_client.ex#L1)

This module implements [DbConnection](https://hexdocs.pm/db_connection) to handle connections to a Microsoft SQL Server database

# `child_spec`

Creates a supervisor child specification for a pool of connections.
See `start_link/2` for options.

# `close`

# `execute`

# `prepare`

Prepare a query with a database connection for later execution.
It returns `{:ok, query}` on success or `{:error, exception}` if there was
an error.
The returned `query` can then be passed to `execute/4` and/or `close/3`

# `query`

Executes a query on a given connection. Returns `{:ok, result}` or `{:error, reason}`.

# `rollback`

# `start_link`

Starts and links to a database connection process.
By default the `DBConnection` starts a pool with a single connection.
The size of the pool can be increased with `:pool_size`. A separate
pool can be given with the `:pool` option.

# `transaction`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
