Skip to content

Commit 17debf8

Browse files
committed
feat(connection): connection.ex skeleton module
1 parent e32b85d commit 17debf8

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

lib/exqlite/connection.ex

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
defmodule Exqlite.Connection do
2+
3+
@doc """
4+
This module imlements connection details as defined in DBProtocol.
5+
6+
Notes:
7+
- we try to closely follow structure and naming convention of myxql.
8+
- sqlite thrives when there are many small conventions, so we may not implement
9+
some strategies employed by other adapters. See https://sqlite.org/np1queryprob.html
10+
"""
11+
12+
use DBConnection
13+
alias Exqlite.Sqlite3
14+
alias Exqlite.Error
15+
alias Exqlite.Result
16+
17+
defstruct [
18+
:db
19+
]
20+
21+
end

0 commit comments

Comments
 (0)