If the query is successful and is a SELECT, SHOW, DESCRIBE, or
EXPLAIN query, a resource will be returned. If the query is successful, and is not one of the
above query types, true will be returned. If the query fails, false will be returned.
Returns Database resource or true on success; false on failure
queryBatch( abort_on_error : boolean=true, p_transaction_safe :
boolean=false ) : mixed
Executes a batch of queries. If abort_on_error is true the batch process will stop if an
error occurs. If p_transaction_safe is true then all the queries will only be applied if
they are all successful.
Parameters [abort_on_error] Stop batch process on error
[p_transaction_safe] Perform as transaction
Returns true on success; false or the failed resource on failure
Quote( text : string ) : string
Emulates ADOdb functionality.
Encapsulates text in quotes and escapes text. Use this to make query values safe.
Parameters text String to encapsulate in quotes and escape
Returns Quoted string
replacePrefix( sql : string, prefix : string='#__' ) : string
Substitutes occurrences of prefix in sql with the database table prefix.
Pages:
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622