Giter VIP home page Giter VIP logo

cassandrax's People

Contributors

alexandremcosta avatar ddallaire avatar dogatuncay avatar rafbgarcia avatar tdtadeu avatar tomoka64 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cassandrax's Issues

dateOf or toTimestamp function in select query

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

Allow passing variables to `where`

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

Proper integration doc

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 ๐Ÿ‘

Missing cassandra ecto adapter

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.

MyCluster example

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.