Files
baserow/web-frontend/modules/database
Davide Silvestri c3958f264b feat (database): first and last formulas (#5066)
* feat: add first(), last() and generalized index() formula functions

* fix: address PR review feedback and handle NaN index argument

- Rename _BaserowIndexShortcut to BaserowIndexShortcut (drop leading _)
- Remove unnecessary comments and section separators
- Rename variable c to clone in JSONBArrayGetElement
- Rename test to test_first_and_last_return_scalar_values, drop docstring
- Remove step comments in test_index_generalized.py
- Handle NaN/div-by-zero as index() argument (returns null instead of crash)

* feat: update index() formula examples to include array fields
2026-04-03 07:47:21 +00:00
..
2026-02-09 17:32:12 +04:00
2026-01-22 10:27:19 +01:00
2026-01-22 10:27:19 +01:00
2026-01-22 10:27:19 +01:00
2026-01-22 10:27:19 +01:00
2023-09-28 13:39:41 +00:00
2026-01-22 10:27:19 +01:00
2026-01-22 10:27:19 +01:00
2026-01-22 10:27:19 +01:00
2026-01-22 10:27:19 +01:00
2026-01-22 10:27:19 +01:00
2026-01-23 13:23:17 +01:00
2026-01-22 10:27:19 +01:00
2026-01-27 20:06:43 +04:00
2024-07-25 17:05:43 +00:00
2026-01-22 10:27:19 +01:00
2026-01-22 10:27:19 +01:00
2026-01-22 10:27:19 +01:00
2026-01-22 10:27:19 +01:00