• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nepalez / rom-cassandra / 36 / 4
98%
master: 98%

Build:
DEFAULT BRANCH: master
Ran 08 Aug 2015 09:55AM UTC
Files 11
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Aug 2015 09:51AM UTC coverage: 96.97% (+1.3%) from 95.625%
2.2

push

travis-ci

nepalez
[FEATURE] Add modifiers to the `Delete` command

The command's dataset can be modified locally using commands
`#where`, `#using` and `#columns`:

    class DeleteColumns < ROM::Commands::Delete[:cassandra]
      relation :tasks
      register_as :delete_columns

      def execute(*cols)
        super columns(cols).using(consistency: :quorum)
      end
    end

    delete_columns = rom.command(:delete_columns)
    delete_columns.by_id(1).call(:text) # deletes 'text' column of the row with id = 1

The `Delete` class has been refactored on the base of `Commands::DSL`.

== Changed

* ROM::Cassandra::Commands::Delete
* ROM::Cassandra::Dataset#delete (restricted by :using, :where and :columns options)

160 of 165 relevant lines covered (96.97%)

8.35 hits per line

Source Files on job 36.4 (2.2)
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 36
  • Travis Job 36.4
  • bf793e5b on github
  • Prev Job for 2.2 on master (#35.4)
  • Next Job for 2.2 on master (#37.4)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc