- The mysql-otp bridge has been reworked to use the mainline mysql-otp repo (rather than @choptastic's fork). This requires new functionality in mysql-otp.
- The epgsql bridge now relies on mainline [epgsql]( (rather than @choptastic's fork). This ended up requiring migrating @choptastic's epgsql customizations to become epgsql custom codecs and epgsql_decimal.
- Fixed
epgsql
's decoding ofdecimal
/numeric
types to return a float or integer. (Fixes Issue #5) - Fixed a crash in the
epgsql
driver (Issue #10) (Thanks @th31nitiate!) - The above work ensures that sql_bridge is now fully hex compliant and available in hex.pm.
- Fix a big transaction bug in the mysql-otp bridge where transactions were mostly unreliable.
- Fix all dialyzer errors
- Added Github CI testing
- Added support for setting the hostname to a
{Mod,Fun}
tuple that will be called to determine which DB server to connect to.
- Loosen the supervisor failure conditions, so
sql_bridge
doesn't go offline if the backend DB server goes offline for an extended period.
- Added
field_exists/2
to check for the existance of a field in a table
- BACKWARDS INCOMPATIBLE CHANGE: Removed support for emysql
- Configured with rebar3
- BACKWARDS INCOMPATIBLE CHANGE: Renamed
update
andinsert
toqupdate
andqinsert
. - Created
update/[2,3]
andinsert/2
which are friendly maps toplu
andpli
respectively. - Handling nested transactions and nested checkouts (just for mysql-otp right now)
- Give a warning message if query breaks in mysql-otp. Previously just returned
{error, Something}
but this generates an OTP warning as well. - Fix atom encoding in epgsql
- Branched the module alias system into a new dependency module called
erlias
- The built-in base64 converter now uses
b64fast
- Add a timer-based logger. Calling
log_for_time(5)
will log all queries for 5 seconds tosql_bridge.log
- Normalize return values for date, time, timestamp, and decimal types.
- Fix
db:save
to properly decompose tables of thedatabase.tablename
format. - Better normalization of
true
,false
and NULLs toundefined
- Add more tests
- Add record handling
- Improve stability in mysql-otp driver
- Add support for mysql-otp and epgsql drivers
- Add battery of tests
- Supported Emysql driver only.