EventStore v1.0.2 EventStore.Config View Source

Provides access to the EventStore configuration.

Link to this section Summary

Functions

Get the data type used to store event data and metadata.

Get the event store configuration for the environment.

Get the connection pool module for postgrex.

Normalizes the application configuration.

Converts a database url into a Keyword list

Get the event store configuration for the environment.

Link to this section Functions

Link to this function

column_data_type(event_store, config)

View Source

Get the data type used to store event data and metadata.

Supported data types are:

  • "bytea" - Allows storage of binary strings.
  • "jsonb" - Native JSON type, data is stored in a decomposed binary format that makes it slightly slower to input due to added conversion overhead, but significantly faster to process, since no reparsing is needed
Link to this function

default_postgrex_opts(config)

View Source
Link to this function

get(event_store, otp_app)

View Source

Get the event store configuration for the environment.

Link to this function

get_config_integer(value, default \\ nil)

View Source
Link to this function

get_config_value(value, default \\ nil)

View Source

Get the connection pool module for postgrex.

Normalizes the application configuration.

Converts a database url into a Keyword list

Link to this function

parsed(event_store, otp_app)

View Source

Get the event store configuration for the environment.

Link to this function

sync_connect_postgrex_opts(config)

View Source