MCPcopy
hub / github.com/psycopg/psycopg / help_nextset_setUp

Method help_nextset_setUp

tests/dbapi20.py:720–733  ·  view source on GitHub ↗

Should create a procedure called deleteme that returns two result sets, first the number of rows in booze then "name from booze"

(self,cur)

Source from the content-addressed store, hash-verified

718 con.close()
719
720 def help_nextset_setUp(self,cur):
721 ''' Should create a procedure called deleteme
722 that returns two result sets, first the
723 number of rows in booze then "name from booze"
724 '''
725 raise NotImplementedError('Helper not implemented')
726 #sql="""
727 # create procedure deleteme as
728 # begin
729 # select count(*) from booze
730 # select name from booze
731 # end
732 #"""
733 #cur.execute(sql)
734
735 def help_nextset_tearDown(self,cur):
736 'If cleaning up is needed after nextSetTest'

Callers 1

test_nextsetMethod · 0.95

Calls

no outgoing calls

Tested by 1

test_nextsetMethod · 0.76