Use this guide if an application still uses boltx for Arcadic's Bolt
transport. Move the dependencies and result matches together so the
application can compile and handle the same queries after upgrading.
- Remove
boltxand adddb_connectionusing the range in Compatibility. KeepArcadic.Transport.Bolt.setup/1as the pool and stream options entry point. - Replace matches on
Boltx.Typesstructs with matches onArcadic.Transport.Bolt.Types. UseTemporalfor returned date or time values. It preserves the protocol's epoch, nanoseconds, and offset or zone. Elixir dates and times still work for bound inputs. - Pass the Bolt host, port, and credentials explicitly to
setup/1. If the values come from environment variables, read them in the application.
See Arcadic.Transport.Bolt for reply limits and error handling.