Results for “id”
Small, practical examples. Search by task or narrow things down below.
Replace a nested JSONB value
Change one path with jsonb_set.
jsonb_set✓ Tested
Replace a text file with an atomic rename
Prepare new content beside the target before renaming it into place.
atomic write✓ Tested
Replace an element while preserving its position
jQuery: replaceWith swaps an entire node.
jQuery✓ Tested
Replace one collection element
Python: Update an existing element at a known valid index.
Python✓ Tested
Replace one collection element
C#: Update an existing element at a known valid index.
C#✓ Tested
Replace one collection element
Java: Update an existing element at a known valid index.
Java✓ Tested
Replace one collection element
JavaScript: Update an existing element at a known valid index.
JavaScript✓ Tested
Replace one collection element
TypeScript: Update an existing element at a known valid index.
TypeScript✓ Tested
Replace one collection element
C++: Update an existing element at a known valid index.
C++✓ Tested
Replace one collection element
C: Update an existing element at a known valid index.
C✓ Tested
Replace the URL of a configured remote
Git: set-url changes configuration without fetching or pushing any objects.
Git✓ Tested
Replay an unpublished branch on a newer base
Git: Rebase updates the base of local feature commits when their changes do not conflict.
Git✓ Tested