PYTHON SQLite3::close

is this article helpful?
|
Python replacement for PHP's SQLite3::close [ edit | history ]
db.close()

PHP SQLite3::close

PHP original manual for SQLite3::close [ show | php.net ]

SQLite3::close

(PHP 5 >= 5.3.0)

SQLite3::closeCloses the database connection

Description

public bool SQLite3::close ( void )

Closes the database connection.

Parameters

This function has no parameters.

Return Values

Returns TRUE on success, FALSE on failure.

Examples

Example #1 SQLite3::close() example

<?php
$db 
= new SQLite3('mysqlitedb.db');
$db->close();
?>