utils/query_utils library

Functions

fmtDateTime(DateTime dt) String
Formats a DateTime as HH:mm:ss.mmm for inspector metadata rows.
formatKey(String rawKey) String
Formats the serialised key into a readable [ "user", "42" ] form.
formatQueryKey(dynamic key) String
Formats a query key list into a human-readable string.
formatQueryTime(int ms) String
Formats a remaining-time duration (in milliseconds) into a short string.
formatTimeAgo(int timestamp) String