loopsocial / cassandrax Goto Github PK
View Code? Open in Web Editor NEWA Cassandra DB data mapper integrated with Ecto, utilizing Xandra for CQL statement execution and response handling.
License: MIT License
A Cassandra DB data mapper integrated with Ecto, utilizing Xandra for CQL statement execution and response handling.
License: MIT License
Is there a way to use functions in select query?
I have tsid field with timeuuid type, and it's handy because I use it as a part of primary key and also inserted_at timestamp. To get a timestamp, I use this query:
SELECT channel_id, body, dateOf(tsid) FROM keyspace.messages_by_channel;
I have tried this:
MessageByChannel |> select(["toDate(tsid)"]) |> Keyspace.all
But got:
(Xandra.Error) Undefined name toDate(tsid) in selection clause
Hello there,
Passing a list variable to the where clause produces equality, and not IN, clause.
left: "SELECT * FROM \"test_keyspace\".\"my_table\" WHERE (\"id\" = ?)"
right: ~r/WHERE \("id" IN \?\)/
I have a PR here: #14
Hi there,
This repo seems promising and I find this very much what I wanted.
Can you please take some time and add proper documentation on how can I or someone would integrate in there existing phoenix/elixir application.
When I read readme.md its bit difficult to understand like how Cassandrax.MyConn
works.
Thank you ๐
Hello!
Can you suggest how to define Ecto Repo for migrations and do we need to use some kind of Cassandra Ecto Adapter for it ?
Thanks.
Hi, thanks for this project!
I'm new to Elixir so apologize for my ignorance. I'm trying to get started with it but I'm confused about what' the MyCluster module.
Is there an example?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.