This function gets the order required for primary keys
(self)
| 413 | self.limit = limit |
| 414 | |
| 415 | def get_pk_order(self): |
| 416 | """ |
| 417 | This function gets the order required for primary keys |
| 418 | """ |
| 419 | if self.cmd_type == VIEW_LAST_100_ROWS: |
| 420 | return 'desc' |
| 421 | else: |
| 422 | return 'asc' |
| 423 | |
| 424 | def get_thread_native_id(self): |
| 425 | return self.thread_native_id |