IsJsonOrderError checks if the error is related to postgres json ordering
(err error)
| 505 | |
| 506 | // IsJsonOrderError checks if the error is related to postgres json ordering |
| 507 | func (d *Dalgorm) IsJsonOrderError(err error) bool { |
| 508 | return strings.Contains(err.Error(), "identify an ordering operator for type json") |
| 509 | } |
| 510 | |
| 511 | // IsTableExist checks if table exists |
| 512 | func (d *Dalgorm) IsTableExist(err error) bool { |