View Source Exandra.Counter (exandra v0.10.2)
Ecto.Type
for counters.
examples
Examples
schema "page_views" do
field :url, :string
field :views, Exandra.Counter
end
Link to this section Summary
Functions
Callback implementation for Ecto.Type.embed_as/1
.
Callback implementation for Ecto.Type.equal?/2
.
Link to this section Types
@type t() :: integer()
The type for an Exandra counter.
Link to this section Functions
Callback implementation for Ecto.Type.embed_as/1
.
Callback implementation for Ecto.Type.equal?/2
.