disconnect . database . sncode
latest
Disconnect to a databse
DISCONNECT
NAME
disconnect - Disconnect to a databse
SYNOPSIS
disconnect(pointer);
DESCRIPTION
This function is used to disconnect from database.
EXAMPLES
a = connect(dbname:"extenso",dbpass:"....",dbuser:"extenso");
a.type();
x=sql(db:a,single:true,wantarray:true,"SELECT DATABASE()");
x.rows[0];
x=sql(single:true,wantarray:true,"SELECT DATABASE()");
x.rows[0];
disconnect(a);
AUTHOR
Written by Pierre Laplante, <laplante@sednove.com>