triton
triton copied to clipboard
a Cassandra ORM for Elixir
`keyspace.ex` ``` defmodule Diamond.Models.Keyspace do use Triton.Keyspace keyspace :keyspace_audit_log, conn: Triton.Conn do with_options [ replication: "{'class' : 'SimpleStrategy', 'replication_factor': 1}" ] end end ``` Error ``` == Compilation error in...
Coerce Elixir maps into Cassandra maps in insert & update. Also did a bit of refactoring of CQL.Insert and CQL.Update. This change is non-breaking in my implementation, but may cause...
I'm just curious about Is this library ready for production use ? Are there any new up comming updates ?
Connection fails when connecting to the localhost with timeout ```elixir config :triton, clusters: [ [ conn: Triton.Conn, nodes: ["127.0.0.1"], pool: Xandra.Cluster, underlying_pool: DBConnection.Poolboy, pool_size: 10, keyspace: "my_keyspace", health_check_delay: 2500, #...
I've been following the README to get the project up and running. When I add the example `Schema.Keyspace` module, I get compile time errors. I have a very basic Elixir...
This patch solves an error when Xandra fails to connect because Triton expects a message field to exist on the error map. This would result in a breaking change for...
Adds basic support for https://github.com/beam-telemetry/telemetry
Il tried to use the uuid() function to generate unique UUID: ``` Event |> insert(event_id: "uuid()") |> if_not_exists |> Event.save() ``` But I received this error: `Invalid STRING constant (uuid())...
Hi! I was wondering how I would integrate the creation of a custom type (on which my table relies on) in Triton. Thank you!
Dialyzer complains when private method fallback matches have no usages -- but I think its good to keep it so I'm just having dialyzer skip those errors rather than removing...