MCPcopy Index your code
hub / github.com/catherinedevlin/ipython-sql / interpret_rowcount

Function interpret_rowcount

src/sql/run.py:262–267  ·  view source on GitHub ↗
(rowcount)

Source from the content-addressed store, hash-verified

260
261
262def interpret_rowcount(rowcount):
263 if rowcount < 0:
264 result = 'Done.'
265 else:
266 result = '%d rows affected.' % rowcount
267 return result
268
269
270def run(conn, sql, config, user_namespace):

Callers 1

runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected