Changed the type of table names to include binaries and strings.

Table names get converted into iolists anyway, and in some applications,
it is undesireable to have to create atoms for dynamic table names.
This commit is contained in:
Ulf Wiger
2012-02-22 20:44:07 +01:00
parent 9297d7268e
commit 6986d0bbde
4 changed files with 121 additions and 152 deletions

View File

@@ -20,6 +20,7 @@
-endif.
-define(NULL_ATOM, null).
-type table() :: atom() | binary() | string().
-type sql_value() :: number() | ?NULL_ATOM | iodata() | {blob, binary()}.
-type sql_type() :: integer | text | double | real | blob | string().