Difference between revisions of "2.0/Modules/m sqlite"

From AnopeWiki
Jump to: navigation, search
(Created page with "{{Language|2.0/Modules/m_sqlite}} {{Header|m_sqlite|Database|Anope}} == <div class="moduleheader">Description</div> == This module allows other modules to use SQLite. ;name ...")
 
(No difference)

Latest revision as of 16:40, 13 May 2014

Language

English

Section Database
Module m_sqlite
Author Anope

Description

This module allows other modules to use SQLite.

name 
Name of the module
squlite {...} 
name= 
Name of SQL connection
database= 
Name of database file

Default Configuration

/*
 * m_sqlite [EXTRA]
 *
 * This module allows other modules to use SQLite.
 */
#module
{
        name = "m_sqlite"
 
        /* A SQLite database */
        sqlite
        {
                /* The name of this service. */
                name = "sqlite/main"
 
                /* The database name, it will be created if it does not exist. */
                database = "anope.db"
        }
}