SHOW:
|
|
- or go back to the newest paste.
| 1 | #!/usr/bin/env python | |
| 2 | # -*- coding: iso-8859-15 -*- | |
| 3 | ||
| 4 | from database import * | |
| 5 | ||
| 6 | db = DATABASE() | |
| 7 | result = db.executeProcedure('test_add_item',[ 'marramiau_ssx', 'z' ])
| |
| 8 | ||
| 9 | if result: | |
| 10 | print db.getLastExecutionResult() | |
| 11 | else: | |
| 12 | print db.getLastError() |