Skip to content

v6: Add, replace, and delete object references - #393

Merged
bevzzz merged 1 commit into
v6from
v6-ref-functions
Jun 23, 2025
Merged

v6: Add, replace, and delete object references#393
bevzzz merged 1 commit into
v6from
v6-ref-functions

Conversation

@bevzzz

@bevzzz bevzzz commented Jun 23, 2025

Copy link
Copy Markdown
Collaborator

This PR adds 3 new methods to the data namespace:

things.data.referenceAdd("from-uuid", "belongsTo", Reference.collection("Owners, "to-uuid"));

things.data.referenceReplace("from-uuid", "belongsTo", Reference.collection("Owners, "to-uuid"));

things.data.referenceDelete("from-uuid", "belongsTo", Reference.collection("Owners, "to-uuid"));

In the next PRs we will also add -Many counterparts to other data methods: insertMany, deleteMany, referencesAddMany.

@bevzzz bevzzz self-assigned this Jun 23, 2025

@orca-security-eu orca-security-eu Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca

@bevzzz
bevzzz merged commit 071101c into v6 Jun 23, 2025
2 checks passed
@bevzzz
bevzzz deleted the v6-ref-functions branch June 23, 2025 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants