Repository navigation
Validate follower-read staleness and fail fast; custom staleness through every adapter.
- New
FollowerReadClause(d) (string, error)gate: 0 →follower_read_timestamp(), >0 →'-Xs', <0 → error. - BREAKING:
FollowerReadWithStaleness(d)now returns(string, error)and rejects d<=0 (previously emitted invalid SQL). - New custom-staleness adapter methods (pgx/sqlx
QueryFollowerReadAsetc.; gorm scope errors on invalid staleness).
See CHANGELOG.md.