DataObjects::Transaction
# File lib/do_postgres/transaction.rb, line 8 8: def begin 9: cmd = "BEGIN" 10: connection.create_command(cmd).execute_non_query 11: end
# File lib/do_postgres/transaction.rb, line 13 13: def begin_prepared 14: cmd = "BEGIN" 15: connection.create_command(cmd).execute_non_query 16: end
# File lib/do_postgres/transaction.rb, line 18 18: def commit 19: cmd = "COMMIT" 20: connection.create_command(cmd).execute_non_query 21: end
# File lib/do_postgres/transaction.rb, line 23 23: def commit_prepared 24: cmd = "COMMIT PREPARED '#{id}'" 25: connection.create_command(cmd).execute_non_query 26: end
# File lib/do_postgres/transaction.rb, line 38 38: def prepare 39: cmd = "PREPARE TRANSACTION '#{id}'" 40: connection.create_command(cmd).execute_non_query 41: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.