Skip to content

Add further CRUD and RPC documentation - #79

Merged
grdsdev merged 2 commits into
supabase:masterfrom
multimokia:UpdateDocumentation
Jun 8, 2023
Merged

grdsdev merged 2 commits into
supabase:masterfrom
multimokia:UpdateDocumentation

Conversation

@multimokia

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce?

This PR introduces documentation for:

  • Updating data
  • Deleting data
  • Using Postgres (RPC) functions
  • A potenial common mistake you can make while developing your models

What is the current behavior?

Missing documentation for some CRUD operations

What is the new behavior?

N/A

Additional context

When originally working with supabase-swift, I found some of the API from supabase-js to not be 1:1 and I found myself spendign a lot of time digging through issues or the supabase discord to see if I could find info, so I just wanted to add some of the operations I had to search for and some of the things I spent a lot of time trying to figure out so any future users of the library can hopefully spend a little less time trying to get their grips with everything!

@plskz

plskz commented May 22, 2023

Copy link
Copy Markdown

Hi @multimokia, Thanks. This helped me a lot!

@maail I've noticed you're the one maintaining this repo. If you have time, maybe you can check this PR.

@grdsdev
grdsdev merged commit 67d675a into supabase:master Jun 8, 2023
@multimokia
multimokia deleted the UpdateDocumentation branch June 8, 2023 20:16
grdsdev added a commit that referenced this pull request Aug 10, 2026
supabase/sdk#79 fixes the reusable workflow's own sdk-ref default (was
stuck on the stale faba359a pin since 2026-07-20). Point at that fix
commit directly and drop our local sdk-ref: main override, since it's
now the workflow's default.

Note: 72fda7c is currently on supabase/sdk's unmerged PR #79. Re-pin to
the actual main commit once that merges.
grdsdev added a commit that referenced this pull request Aug 11, 2026
* chore: sync new capability IDs from canonical spec

* chore: drop stale duplicate capability IDs, pin sync to current sdk main

The 5 IDs the sync bot added (auth.sign_in.reset_password,
realtime.channel.send, storage.file_buckets.list_files_paginated,
storage.analytics.iceberg_namespace, storage.analytics.iceberg_table) are
not new — they're the pre-rename names already retired in 450a8fc (#1184)
per supabase/sdk#74.

The bot resynced them because our caller workflow doesn't override the
reusable workflow's sdk-ref input, so it inherits that pinned commit's
baked-in default (faba359a, 2026-07-20), which predates the #74 rename.
Pinning sdk-ref explicitly to a current supabase/sdk main SHA fixes the
root cause.

* ci: track supabase/sdk main for sync-compliance sdk-ref

supabase/sdk is internal (same org, same review process), so treating it
like an untrusted third party by pinning to a SHA isn't buying safety
here. It does cost freshness: the reusable workflow's own baked-in
sdk-ref default is a one-time pin upstream never refreshes, and
supabase/sdk has no tags/releases for anything to key an auto-bump off
of, so a fixed SHA here would just go stale again on its own schedule.
Tracking main avoids that.

* chore: drop explanatory comment from sdk-ref

* ci: bump sync-sdk-compliance pin to the sdk-ref: main fix

supabase/sdk#79 fixes the reusable workflow's own sdk-ref default (was
stuck on the stale faba359a pin since 2026-07-20). Point at that fix
commit directly and drop our local sdk-ref: main override, since it's
now the workflow's default.

Note: 72fda7c is currently on supabase/sdk's unmerged PR #79. Re-pin to
the actual main commit once that merges.

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Guilherme Souza <[email protected]>
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.

3 participants