2.0/Modules/m sqlite

From AnopeWiki
Jump to: navigation, search
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"
        }
}