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:
@@ -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().
|
||||
|
||||
|
||||
Reference in New Issue
Block a user