Driver specifico per la connessione a un database SQL Server attraverso la libreria PDO.
More...
|
| | multiActionQuery ($file_content) |
| |
| | autoIncValue ($table) |
| |
| | tableexists ($table) |
| |
| | limit ($range, $offset=0) |
| |
| | distinct ($fields, $options=array()) |
| |
| | concat ($sequence) |
| |
| | dumpDatabase ($file) |
| |
| | changeFieldType ($data_type, $value) |
| |
| | restore ($table, $filename, $options=array()) |
| |
| | conformFieldType ($meta) |
| |
| | __construct ($params) |
| | Costruttore. More...
|
| |
| | getNumberRows () |
| | Ritorna il numero di righe risultanti da una select query. More...
|
| |
| | getNumberCols () |
| | Ritorna il numero di colonne richiamate in una istruzione SELECT. More...
|
| |
| | getAffectedRows () |
| | Ritorna il numero di righe interessate da una istruzione INSERT, UPDATE o DELETE. More...
|
| |
| | getInfoQuery () |
| |
| | openConnection ($opt=array()) |
| |
| | closeConnection () |
| |
| | begin () |
| |
| | rollback () |
| |
| | commit () |
| |
| | multiActionQuery ($queries) |
| |
| | freeresult ($result=null) |
| |
| | getLastId ($table) |
| |
| | autoIncValue ($table) |
| |
| | getFieldFromId ($table, $field, $field_id, $id, $options=array()) |
| |
| | tableexists ($table) |
| |
| | fieldInformations ($table) |
| |
| | conformFieldType ($meta) |
| |
| | limit ($range, $offset) |
| |
| | distinct ($fields, $options=array()) |
| |
| | concat ($sequence) |
| |
| | dumpDatabase ($file) |
| |
| | changeFieldType ($data_type, $value) |
| |
| | getNumRecords ($table, $where=null, $field='id', $options=array()) |
| |
| | query ($fields, $tables, $where=null, $options=array()) |
| |
| | execCustomQuery ($query, $options=array()) |
| |
| | select ($fields, $tables, $where=null, $options=array()) |
| |
| | insert ($fields, $table, $debug=false) |
| |
| | update ($fields, $table, $where, $debug=false) |
| |
| | delete ($table, $where, $debug=false) |
| |
| | drop ($table) |
| |
| | columnHasValue ($table, $field, $value, $options=array()) |
| |
| | join ($table, $condition, $option) |
| |
| | union ($queries, $options=array()) |
| |
| | restore ($table, $filename, $options=array()) |
| |
| | dump ($table, $path_to_file, $options=array()) |
| |
| | escapeString ($string) |
| |
| | openConnection () |
| | Apre una connessione al database. More...
|
| |
|
| | setDSN () |
| |
| | setAttribute () |
| |
| | checkRowsFromSelect ($result) |
| |
| | buildQuery ($options=array()) |
| |
| | setFieldName ($field) |
| |
| | setFieldValue ($value) |
| |
| | arrayFieldsToString ($a_fields) |
| |
| | SQLForFieldInformations ($table) |
| |
| | SQLForDump ($table, $path_to_file, $delimiter, $enclosed, $where) |
| |
| | checkRowsFromSelect ($result) |
| | Verifica se una istruzione SELECT ha avuto esito postivo. More...
|
| |
| | queryResults ($query, $options=array()) |
| | Esegue la query e ne calcola i tempi di esecuzione. More...
|
| |
| | fetch ($results=null, $options=array()) |
| | Prende e rende fruibili i risultati della query. More...
|
| |
| | setDSN () |
| | Imposta la stringa di connessione al database. More...
|
| |
| | setAttribute () |
| | Attributi da associare alla connessione. More...
|
| |
| | setCharacterSet () |
| | Imposta il character set del database. More...
|
| |
| | buildQuery ($options=array()) |
| | Costruisce la query (personalizzata per ogni driver) More...
|
| |
| | setFieldName ($field) |
| | Imposta il nome del campo in una query. More...
|
| |
| | setFieldValue ($value) |
| | Imposta il valore del campo in una query. More...
|
| |
| | arrayFieldsToString ($a_fields) |
| | Formatta l'elenco dei campi in una istruzione insert. More...
|
| |
| | SQLForFieldInformations ($table) |
| | SQL code specifico del driver per il metodo fieldInformations() More...
|
| |
| | SQLForDump ($table, $path_to_file, $delimiter, $enclosed, $where) |
| | SQL code specifico del driver per il metodo dump() More...
|
| |
Driver specifico per la connessione a un database SQL Server attraverso la libreria PDO.
- Copyright
- 2015 Otto srl (http://www.opensource.org/licenses/mit-license.php) The MIT License
- Author
- marco guidotti guido.nosp@m.ttim.nosp@m.@gmai.nosp@m.l.co.nosp@m.m
-
abidibo abidi.nosp@m.bo@g.nosp@m.mail..nosp@m.com