aboutsummaryrefslogtreecommitdiffstats
path: root/src/mysqlerl.hrl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mysqlerl.hrl')
-rw-r--r--src/mysqlerl.hrl9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mysqlerl.hrl b/src/mysqlerl.hrl
new file mode 100644
index 0000000..99e674f
--- /dev/null
+++ b/src/mysqlerl.hrl
@@ -0,0 +1,9 @@
+-record(sql_connect, {host, port, database, user, password, options}).
+-record(sql_query, {q}).
+-record(sql_param_query, {q, params}).
+-record(sql_select_count, {q}).
+-record(sql_select, {pos, n}).
+-record(sql_first, {}).
+-record(sql_last, {}).
+-record(sql_next, {}).
+-record(sql_prev, {}).