stripTimestampPrefix
stripTimestampPrefix(
raw):string
Defined in: packages/core/src/store/store-utils.ts:72
Strips the timestamp + CHAR(1) prefix that the MAX()-based
“most recent payload” trick prepends to column values.
Works regardless of timestamp format length (SQLite ISO 24-char, Postgres timestamptz::text 32-char, etc.) by searching for the CHAR(1) separator dynamically.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string