PHP Classes

File: docs/README.Naf_Select.txt

Recommend this page to a friend!
  Classes of Victor Bolshov   Naf Database Tools   docs/README.Naf_Select.txt   Download  
File: docs/README.Naf_Select.txt
Role: Documentation
Content type: text/plain
Description: README
Class: Naf Database Tools
Store and retrieve objects in databases using PDO
Author: By
Last change:
Date: 16 years ago
Size: 911 bytes
 

Contents

Class file image Download
=== About Naf_Select === Naf_Select is a Query-Object implementation in Naf library. More about Naf: http://developer.berlios.de/projects/naf/ === What Naf_Select is? === It is a object-oriented wrapper around a SELECT SQL query, allowing for quite comlex selects, with complex filtering capabilities (@see registerFilter() and registerFilterIf() methods), its features include the abilities to apply GROUP BY clause, HAVING clause, LIMIT/OFFSET, execute complex COUNT() queries with a help of count() method, complex SUM() queries with a help of sum() method. Exports results as a PDOStatement. Beneath Naf_Select lies Naf_Table object which helps to build SQL statements. === What Naf_Select is NOT? === First and most meaningful: Naf_Select is NOT a silver bullet, NOT a replacement for manually writing SQL queries. REMEMBER: only writing SQL by hand gives you the real power in complex cituations!