Results for “input”
Small, practical examples. Search by task or narrow things down below.
Read slice indices and values
Read slice indices and values using a complete Go program with explicit sample inputs.
Go✓ Tested
Read stash labels without commit hashes
Git: A custom format provides predictable stash subjects.
Git✓ Tested
Read text line by line
Read text line by line using a complete Go program with explicit sample inputs.
Go✓ Tested
Read the current branch name
Git: show-current returns an empty string when HEAD is detached.
Git✓ Tested
Read the exact version currently staged
Git: The colon path syntax reads a blob from the index rather than from HEAD or the working file.
Git✓ Tested
Read the last value of the complete partition
SQL: Specify an unbounded-following frame so LAST_VALUE does not stop at the current row.
SQL✓ Tested
Read the last value of the complete partition
SQL Server: Specify an unbounded-following frame so LAST_VALUE does not stop at the current row.
SQL Server✓ Tested
Read the last value of the complete partition
Postgres: Specify an unbounded-following frame so LAST_VALUE does not stop at the current row.
Postgres✓ Tested
Read the last value of the complete partition
SQLite: Specify an unbounded-following frame so LAST_VALUE does not stop at the current row.
SQLite✓ Tested
Read the latest commit message
Git: Read the latest commit message inside the disposable repository created by the input setup.
Git✓ Tested
Read the next row’s value
SQL: LEAD reads a later ordered row without a self join and supports a fallback at the end.
SQL✓ Tested
Read the next row’s value
SQL Server: LEAD reads a later ordered row without a self join and supports a fallback at the end.
SQL Server✓ Tested