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

supabase / supabase-swift / 36561548989
90%

Build:
DEFAULT BRANCH: main
Ran 29 Sep 2026 11:27AM UTC
Jobs 1
Files 136
Run time 1min
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

29 Sep 2026 11:24AM UTC coverage: 89.501% (+0.005%) from 89.496%
36561548989

push

github

web-flow
feat(postgrest): add defaultToNull to insert and upsert (#1311)

* feat(postgrest): add defaultToNull to insert and upsert

A bulk payload sends the union of every row's keys as `columns`, so a column
some rows omit was always written as `null` — overwriting its database DEFAULT.
`defaultToNull: false` sends `Prefer: missing=default` instead.

Sent whenever the option is false, for a single row or an array, matching
supabase-js: there the payload-shape check gates only the `columns` parameter.
The preference is appended to `Prefer` rather than replacing it, so it composes
with `resolution=`, `return=`, `count=` and any caller-supplied value.

Scope matches supabase-js: insert and upsert only. PostgREST applies `missing`
to PATCH too, but `update` is left alone.

Adding the parameter renames both symbols in DocC, so nine existing symbol
links across four files gained the new label.

Fixes SDK-1613

* test(postgrest): drop the group comment above the defaultToNull tests

6 of 6 new or added lines in 1 file covered. (100.0%)

10767 of 12030 relevant lines covered (89.5%)

114.68 hits per line

Jobs
ID Job ID Ran Files Coverage
1 36561548989.1 29 Sep 2026 11:27AM UTC 136
89.5
GitHub Action Run
Source Files on build 36561548989
  • Tree
  • List 136
  • Changed 4
  • Source Changed 4
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36561548989
  • 37e7464e on github
  • Prev Build on main (#36557281091)
  • Next Build on main (#36601869583)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc