Advanced Utilities Overview
Hysteria ORM provides several advanced utilities to enhance your development experience:
Logger
- Built-in logger with color-coded output and timestamps
- Custom logger support
Performance
withPerformance(fn)
utility to measure async function execution time
Encryption
- Symmetric and asymmetric encryption helpers for columns
generateKeyPair()
for RSA keys
Error Handling
- Custom
HysteriaError
for consistent error reporting
ULID
generateULID()
for unique, sortable IDs
Next: API Reference