Results for “one”
Small, practical examples. Search by task or narrow things down below.
Define a one-off Compose service
Describe an image and command in a reusable YAML file.
Compose✓ Tested
Delete one known scratch file
C++: filesystem::remove reports whether an item was removed and also supports empty directories.
C++✓ Tested
Delete one matching row
Remove a selected record and inspect what remains.
DELETE✓ Tested
Delete one row from a practice table
SQL: Restrict DELETE with a primary-key condition and verify the remaining row count.
SQL✓ Tested
Delete one row from a practice table
SQL Server: Restrict DELETE with a primary-key condition and verify the remaining row count.
SQL Server✓ Tested
Delete one row from a practice table
Postgres: Restrict DELETE with a primary-key condition and verify the remaining row count.
Postgres✓ Tested
Delete one row from a practice table
SQLite: Restrict DELETE with a primary-key condition and verify the remaining row count.
SQLite✓ Tested
Destructure nested data in a component
Destructure nested data in a component with a small React component and explicit browser behavior.
React✓ Tested
Discard an unstaged edit to one tracked file
Git: Restore copies the index version back into the selected working file.
Git✓ Tested
Dispatch a one-character serial command
Arduino / C: A switch provides explicit handling for accepted and unknown commands.
Arduino / C✓ Tested
Display a component field with interpolation
Display a component field with interpolation with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Distinguish an own property from an inherited one
JavaScript: Object.hasOwn avoids depending on an object’s possibly shadowed hasOwnProperty method.
JavaScript✓ Tested