Returns hex converted field string
(self, field)
| 448 | return request.comment if "comment" in request else "" |
| 449 | |
| 450 | def hexConvertField(self, field): |
| 451 | """ |
| 452 | Returns hex converted field string |
| 453 | """ |
| 454 | |
| 455 | rootQuery = queries[Backend.getIdentifiedDbms()] |
| 456 | hexField = field |
| 457 | |
| 458 | if "hex" in rootQuery and hasattr(rootQuery.hex, "query"): |
| 459 | hexField = rootQuery.hex.query % field |
| 460 | else: |
| 461 | warnMsg = "switch '--hex' is currently not supported on DBMS '%s'" % Backend.getIdentifiedDbms() |
| 462 | singleTimeWarnMessage(warnMsg) |
| 463 | |
| 464 | return hexField |
| 465 | |
| 466 | def nullAndCastField(self, field): |
| 467 | """ |
no test coverage detected