Skip to content
This repository was archived by the owner on Dec 11, 2025. It is now read-only.
This repository was archived by the owner on Dec 11, 2025. It is now read-only.

Feature: Generic Service For Associative Table #9

@harpocrates12

Description

@harpocrates12

It would be nice to have a generic service that:

  • receives an array of requested id_pairs (like used in associative tables)
PPPT::Simple::Plural::DeleteInsert.new.call(
  [
    { some_id: 1, some_other_id: 2},
    { some_id: 1, some_other_id: 3},
  ]
)

And takes care of:

  • finding existent records
  • infer outdated records and delete them
  • infer new 'records' and insert them

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions