MCPcopy
hub / github.com/dbcli/pgcli / fetchone

Method fetchone

pgcli/pgexecute.py:79–82  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

77 return super().fetchall()
78
79 def fetchone(self):
80 if self.protocol_error:
81 return (self.protocol_message,)
82 return super().fetchone()
83
84 # def mogrify(self, query, params):
85 # args = [Literal(v).as_string(self.connection) for v in params]

Callers 6

_select_oneMethod · 0.80
search_pathMethod · 0.80
view_definitionMethod · 0.80
function_definitionMethod · 0.80
get_socket_directoryMethod · 0.80
get_timezoneMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected