fluffos/docs/efun/db/db_commit.md

28 lines
381 B
Markdown
Raw Permalink Normal View History

2018-12-30 16:43:04 -08:00
---
title: db / db_commit
---
2023-11-25 09:50:24 -08:00
# db_commit
2018-12-30 16:43:04 -08:00
### NAME
2018-12-30 16:59:01 -08:00
db_commit() - commits the last transaction
2018-12-30 16:43:04 -08:00
### SYNOPSIS
2018-12-30 16:59:01 -08:00
int db_commit(int handle );
2018-12-30 16:43:04 -08:00
### DESCRIPTION
2018-12-30 16:59:01 -08:00
2018-12-30 16:43:04 -08:00
For transactional databases this will commit the last set of actions.
Returns 1 on success, 0 otherwise
### NOTES
2018-12-30 16:59:01 -08:00
Not yet implemented!
2018-12-30 16:43:04 -08:00
### SEE ALSO
2018-12-30 16:59:01 -08:00
db_exec(3), db_rollback(3), valid_database(4)