EventStore
▼
Project version
v1.4.8
v1.4.7
v1.4.6
v1.4.4
v1.4.3
v1.4.2
v1.4.1
v1.4.0
v1.3.2
v1.3.1
v1.3.0
v1.2.3
v1.2.2
v1.2.1
v1.2.0
v1.1.0
v1.0.3
v1.0.2
v1.0.1
v1.0.0
v1.0.0-rc.0
v0.17.0
v0.16.2
v0.16.1
v0.16.0
v0.15.1
v0.15.0
v0.14.0
v0.14.0-rc.0
v0.13.2
v0.13.1
v0.13.0
v0.12.1
v0.12.0
v0.11.0
v0.11.0-rc.0
v0.10.1
v0.9.0
v0.8.1
v0.8.0
v0.7.3
v0.7.2
v0.7.1
v0.7.0
v0.6.2
v0.6.1
v0.6.0
v0.5.2
v0.5.1
v0.5.0
v0.4.3
v0.4.2
v0.4.1
v0.4.0
v0.3.0
v0.2.1
v0.2.0
v0.1.0
v0.0.5
v0.0.4
v0.0.3
GUIDES
Modules
Mix
Tasks
API Reference
Modules
Mix Tasks
Changelog
v1.4.8
v1.4.7
v1.4.6
v1.4.5
v1.4.4
v1.4.3
v1.4.2
v1.4.1
v1.4.0
v1.3.2
v1.3.1
v1.3.0
Bug fixes
v1.2.3
v1.2.2
v1.2.1
v1.2.0
v1.1.0
v1.0.3
v1.0.2
v1.0.1
v1.0.0
v0.17.0
v0.16.2
v0.16.1
v0.16.0
0.15.1
0.15.0
0.14.0
v0.13.2
v0.13.1
v0.13.0
v0.12.1
v0.12.0
v0.11.0
v0.10.1
v0.10.0
v0.9.0
v0.8.1
v0.8.0
v0.7.4
v0.7.3
v0.7.2
v0.7.1
v0.7.0
v0.6.2
v0.6.1
v0.6.0
v0.5.2
v0.5.0
Architecture
FAQ
Frequently asked questions
Introduction
Getting started
Using an existing database
Reset an existing database
Initialize a database using an Elixir release
Using Postgres schemas
Event data and metadata data type
Using with PgBouncer
Using the EventStore
Writing to a stream
Reading from a stream
Reading from all streams
Stream from all streams
Linking events between streams
Deleting streams
Subscriptions
Event pub/sub
Transient subscriptions
Persistent subscriptions
Serialization
Event serialization
JSON serialization using Jason
Example JSON serializer using Poison
Deployment
Running on a cluster of nodes
Event publication
Subscriptions
Automatic cluster formation
Static cluster topology and formation
Usage
Upgrades
Upgrading an EventStore
Migrating a database with mix
Migrating a database using an Elixir release
Upgrade guide v0.17.x to 1.0
EventStore
Sections
Defining an event store
Postgres schema
Dynamic named event store
Dynamic schemas
Shared database connection pools
Using an existing database connection or transaction
Guides
Summary
Types
expected_version/0
option/0
options/0
pagination_option/0
pagination_options/0
persistent_subscription_option/0
persistent_subscription_options/0
start_from/0
t/0
transient_subscribe_option/0
transient_subscribe_options/0
Callbacks
ack/2
append_to_stream/4
config/0
delete_all_streams_subscription/2
delete_snapshot/2
delete_stream/4
delete_subscription/3
init/1
link_to_stream/4
paginate_streams/1
read_all_streams_backward/3
read_all_streams_forward/3
read_snapshot/2
read_stream_backward/4
read_stream_forward/4
record_snapshot/2
start_link/1
stop/2
stream_all_backward/2
stream_all_forward/2
stream_backward/3
stream_forward/3
stream_info/2
subscribe/2
subscribe_to_all_streams/3
subscribe_to_stream/4
unsubscribe_from_all_streams/2
unsubscribe_from_stream/3
Functions
all_instances/0
EventStore.Config
Summary
Functions
advisory_locks_postgrex_opts/1
column_data_type/2
default_postgrex_opts/1
get/2
get_pool/0
parse/1
parsed/2
postgrex_notifications_opts/2
postgrex_opts/2
EventStore.Notifications.Publisher.State
Summary
Functions
new/1
EventStore.Page
Summary
Types
t/0
t/1
Functions
total_pages/2
EventStore.PubSub
Summary
Functions
broadcast/3
child_spec/1
subscribe/3
EventStore.Streams.StreamInfo
Summary
Types
t/0
Functions
new/1
validate_expected_version/2
EventStore.Tasks.Migration
EventStore.Tasks.Migrations
Summary
Functions
exec/2
Mix.EventStore
Summary
Functions
ensure_event_store!/2
implements?/2
parse_event_store/1
Data types
EventStore.EventData
Summary
Types
t/0
uuid/0
Functions
fetch/2
get_and_update/3
EventStore.RecordedEvent
Sections
Recorded event fields
Summary
Types
t/0
uuid/0
Functions
deserialize/2
fetch/2
get_and_update/3
EventStore.Snapshots.SnapshotData
Summary
Types
t/0
Functions
deserialize/2
serialize/2
Serialization
EventStore.JsonSerializer
Summary
Functions
deserialize/2
serialize/1
EventStore.JsonbSerializer
Summary
Functions
deserialize/2
serialize/1
to_struct/2
EventStore.Serializer
Summary
Types
config/0
t/0
Callbacks
deserialize/2
serialize/1
Functions
serializer/2
EventStore.TermSerializer
Summary
Functions
deserialize/2
serialize/1
Tasks
EventStore.Tasks.Create
Summary
Functions
exec/2
EventStore.Tasks.Drop
Summary
Functions
exec/2
EventStore.Tasks.Init
Summary
Functions
exec/2
EventStore.Tasks.Migrate
Summary
Functions
exec/2
mix event_store.create
Sections
Examples
Command line options
mix event_store.drop
Sections
Examples
Command line options
mix event_store.init
Sections
Examples
Command line options
mix event_store.migrate
Sections
Examples
Command line options
mix event_store.migrations
Sections
Examples
Command line options
Search documentation of EventStore
Settings
View Source
EventStore.Tasks.Migrate
(EventStore v1.4.8)
Task to migrate EventStore
Summary
Functions
exec(config, opts \\ [])
Run task
Functions
exec(config, opts \\ [])
Run task
Parameters
config: the parsed EventStore config
Opts
is_mix: set to
true
if running as part of a Mix task
quiet: set to
true
to silence output
×