Class db
The main database class where database interactions can be called.
Namespace: ski
Located at packages/ski.web/services/ski.service.db.php
Methods summary
public
|
#
__construct( string $host_name, string $user_name, string $pass, string $db_name )
Opens a connection to the desired database.. *
Opens a connection to the desired database.. *
Parameters
- $host_name
string $host_name The host name, which is usually an extended version of the database
name
- $user_name
string $user_name The name of the user to connect, which is usually the same as the db
name
- $pass
string $pass The pass that goes with the user
- $db_name
string $db_name The name of the database
|
public
|
#
__destruct( )
Closes the connection opened by the constructor..
Closes the connection opened by the constructor..
|
public
ski\db_recordset
|
#
run_query( type $query )
|
Magic methods summary