dbSave | GoAhead WebServer API | GoAhead EMF
## Synopsis Dump the contents of a database to file. ## Prototype
     #include "emfdb.h"

     int dbSave(int did, char_t * filename, int flags);
## Parameters
did | database Identifier
filename | name of the file to write to
flags | unused, provided for compatibility with earlier versions
## Description Write the contents of the database (i.e., ALL tables) to a text file. ## Return Value dbSave returns 0 if successful, or -1 if an error. ## Example
    int nCheck = dbSave(0, T("config.txt"), 0);
## See Also dbOpen(), dbLoad() ##  |