Sha256: f3059f02806d977afeb3cebe4fa71031af01ac6a41c14110b465d542e49f4437
Contents?: true
Size: 278 Bytes
Versions: 1
Compression:
Stored size: 278 Bytes
Contents
# frozen_string_literal: true module LunaPark module Extensions module Repositories module Postgres module Delete def delete(uid) dataset.where(primary_key => uid).delete.positive? end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
luna_park-0.13.0 | lib/luna_park/extensions/repositories/postgres/delete.rb |