Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
88 lines (71 sloc) 3.31 KB

DALMP\Database

The DALMP\Database class contains a set of methods that allow to query a database in a more easy and secure way.

The next table contains, 5 common methods for retrieving data:

Name Normal Prepared Statements Cache Normal Cache Prepared Statements
all GetAll PGetAll CacheGetAll CachePGetAll
assoc GetAssoc PGetAssoc CacheGetAssoc CachePGetAssoc
col GetCol PGetCol CacheGetCol CachePGetCol
one GetOne PGetOne CacheGetOne CachePGetOne
row GetRow PGetRow CacheGetRow CachePGetRow
.. seealso::

   `DALMP\\Cache </en/latest/cache.html>`_


Any query or either for Inserting or Updating:

Name Normal Prepared statements
Execute Execute PExecute
.. seealso::

   `Prepared statements </en/latest/prepared_statements.html>`_


The available methods are:

.. toctree::
   :maxdepth: 2

   database/AutoExecute
   database/Cache
   database/CacheFlush
   database/Close
   database/CompleteTrans
   database/construct
   database/csv
   database/debug
   database/ErrorMsg
   database/ErrorNum
   database/Execute
   database/FetchMode
   database/forceTruncate
   database/getAll
   database/getASSOC
   database/getCol
   database/getOne
   database/getRow
   database/getClientVersion
   database/getColumnNames
   database/getNumOfFields
   database/getNumOfRows
   database/getNumOfRowsAffected
   database/getServerVersion
   database/Insert_Id
   database/isConnected
   database/map
   database/multipleInsert
   database/PClose
   database/PExecute
   database/PQuery
   database/Prepare
   database/qstr
   database/query
   database/renumber
   database/RollBackTrans
   database/StartTrans
   database/useCache
   database/UUID
   database/X