<nephtali>

A simple, flexible, fast, and security-focused PHP framework
Nephtali documentation

API documentation

n\sql\source

SQL select functions.

Functions

  • PDO connect(string $dsn, string $username, string $password)

    Creates and returns a connection handle for data sources (i.e., queries that read rows of a table, such as select queries.)

    If no arguments are supplied, the sql_source values in nconfig.php are used to create the connection and the connection is saved for subsequent sql source queries.

  • array query(array $query, array $inputs, PDO $dbh)

    Performs read-only ('SELECT') queries on tables and returns results.

Nephtali namespaces