It can be null if neither `$conn` nor `$stmt` are given.