Giter Site home page Giter Site logo

Comments (6)

ptaoussanis avatar ptaoussanis commented on July 1, 2024

Hi Rahul,

@LeonardoBorges recently added support for expressions with #73 - could that be what you're looking for?

The changes are currently on the dev branch and Clojars as [com.taoensso/faraday "1.9.0-alpha2"]

from faraday.

rahulmutt avatar rahulmutt commented on July 1, 2024

Thanks! That sets up the basic infrastructure for what I want. I just need to adapt whatever was done to update-item and put-item to query.

from faraday.

ptaoussanis avatar ptaoussanis commented on July 1, 2024

Sounds good, PR welcome!

from faraday.

rahulmutt avatar rahulmutt commented on July 1, 2024

As I read through the query code and consulted the AWS docs, I realized that I can accomplish my specific query with the IN operator. But the fact still remains that faraday is currently using the legacy way of filtering queries.

I suggest that we consider the current query-filter parameter as a mini-DSL that is compiled into a condition expression (the new API for DynamoDB). I'll leave this issue open as a feature request for updating faraday to implement this DSL to maintain the simple interface while keeping it up to date with the updated DynamoDB API.

from faraday.

ricardojmendez avatar ricardojmendez commented on July 1, 2024

It would seem like the original request is something that can be handled with filter expressions, which I added on #76.

@rahulmutt Could you take a look at these tests and see if it provides what you were aiming for?

from faraday.

ptaoussanis avatar ptaoussanis commented on July 1, 2024

I believe this has been addressed by @ricardojmendez's recent work so closing.

@rahulmutt: please feel free to reopen if you're still having trouble.

from faraday.

Related Issues (20)

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.