Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Esmith::DB::db
(view source)
Revision as of 08:12, 12 August 2015
173 bytes added
,
08:12, 12 August 2015
→creating a new config database
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 ====
Stephdl
Administrators
5,576
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version