MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / get_pk_order

Method get_pk_order

web/pgadmin/tools/sqleditor/command.py:415–422  ·  view source on GitHub ↗

This function gets the order required for primary keys

(self)

Source from the content-addressed store, hash-verified

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

Callers 1

get_sqlMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected