Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
2.3 kB
2
Indexable
Never
{
  "name": "SequelizeDatabaseError",
  "parent": {
    "length": 121,
    "name": "error",
    "severity": "ERROR",
    "code": "22P02",
    "file": "float.c",
    "line": "398",
    "routine": "float8in_internal_opt_error",
    "sql": "SELECT count(*) AS \"count\" FROM \"advertises\" AS \"advertises\" WHERE (\"advertises\".\"listing_type\" = 1) AND (\n                        (\n                            6371 * acos(\n                                cos(radians(-6.1805113)) * cos(radians(CAST(lat AS float))) * cos(radians(CAST(long AS float)) - radians(106.8283831)) +\n                                sin(radians(-6.1805113)) * sin(radians(CAST(lat AS float)))\n                            )\n                        ) <= 3\n                    ) AND \"advertises\".\"deletedAt\" IS NULL AND \"advertises\".\"is_publish\" = 1;"
  },
  "original": {
    "length": 121,
    "name": "error",
    "severity": "ERROR",
    "code": "22P02",
    "file": "float.c",
    "line": "398",
    "routine": "float8in_internal_opt_error",
    "sql": "SELECT count(*) AS \"count\" FROM \"advertises\" AS \"advertises\" WHERE (\"advertises\".\"listing_type\" = 1) AND (\n                        (\n                            6371 * acos(\n                                cos(radians(-6.1805113)) * cos(radians(CAST(lat AS float))) * cos(radians(CAST(long AS float)) - radians(106.8283831)) +\n                                sin(radians(-6.1805113)) * sin(radians(CAST(lat AS float)))\n                            )\n                        ) <= 3\n                    ) AND \"advertises\".\"deletedAt\" IS NULL AND \"advertises\".\"is_publish\" = 1;"
  },
  "sql": "SELECT count(*) AS \"count\" FROM \"advertises\" AS \"advertises\" WHERE (\"advertises\".\"listing_type\" = 1) AND (\n                        (\n                            6371 * acos(\n                                cos(radians(-6.1805113)) * cos(radians(CAST(lat AS float))) * cos(radians(CAST(long AS float)) - radians(106.8283831)) +\n                                sin(radians(-6.1805113)) * sin(radians(CAST(lat AS float)))\n                            )\n                        ) <= 3\n                    ) AND \"advertises\".\"deletedAt\" IS NULL AND \"advertises\".\"is_publish\" = 1;",
  "parameters": {}
}
Leave a Comment