Changes

From SME Server
Jump to navigationJump to search
173 bytes added ,  08:12, 12 August 2015
Line 67: Line 67:     
               my $config = esmith::ConfigDB->create($new_config_file);
 
               my $config = esmith::ConfigDB->create($new_config_file);
 +
 +
example for creating and using a custom database in one line:
 +
 +
my $f2bdb = esmith::ConfigDB->open('YOUR_DATABASE_NAME') || esmith::ConfigDB->create('YOUR_DATABASE_NAME');
    
==== checking if a record exists ====
 
==== checking if a record exists ====

Navigation menu