select * from "products" where "offer_id" = $1 limit $2 - неверный синтаксис для типа bigint: "NaN"