Your Question

Description

Hello Team,

In1.25.6, this work without issue

    query := db.
        Where("Hash = ? AND expires_at > CURRENT_TIMESTAMP", MakeTokenHash(token)).
        Take(&foundToken)

In1.25.7, it cease to work with error being:

Query 'SELECT * FROM "auth_tokens" WHERE Hash = $1 AND expires_at > CURRENT_TIMESTAMP LIMIT $2', arguments do not match: expected 1, but got 2 arguments

The document you expected this should be explained

Expected answer