IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 20, 2005, 3:40:10 PM (21 years ago)
Author:
drobbin
Message:

made minor changes in accordance with newest api-delta doc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/db/psDB.h

    r4540 r4589  
    1010 *  @author Joshua Hoblitt
    1111 *
    12  *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2005-07-12 19:12:00 $
     12 *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2005-07-21 01:40:10 $
    1414 *
    1515 *  Copyright 2005 Joshua Hoblitt, University of Hawaii
     
    4040/** Opens a new database connection
    4141 *
    42  *  @return A new psDB object if the database connection is successful or NULL on
     42 *  @return psDB*:      A new psDB object if the database connection is successful or NULL on
    4343 *  failure.
    4444 */
     
    5050);
    5151
    52 /** Closes a database connection
    53  */
     52/** Closes a database connection  */
    5453void psDBCleanup(
    5554    psDB *dbh                          ///< Database handle
     
    5857/** Creates a new database namespace
    5958 *
    60  * @return true on success
     59 * @return bool:    true on success
    6160 */
    6261bool psDBCreate(
     
    6766/** Changes the current database namespace
    6867 *
    69  * @return true on success
     68 * @return bool:    true on success
    7069 */
    7170bool psDBChange(
     
    7675/** Drops a database namespace
    7776 *
    78  * @return true on success
     77 * @return bool:    true on success
    7978 */
    8079bool psDBDrop(
     
    8988 * dialect is provided.  Caveat emptor.
    9089 *
    91  * @return true on success
     90 * @return bool:    true on success
    9291 */
    9392bool p_psDBRunQuery(
     
    114113 * Key" or "Key".  Comments are otherwise ignored.
    115114 *
    116  * @return true on success
     115 * @return bool:    true on success
    117116 */
    118117bool psDBCreateTable(
     
    124123/** Deletes a database table
    125124 *
    126  * @return true on success
     125 * @return bool:    true on success
    127126*/
    128127bool psDBDropTable(
     
    137136 * entire range is returned.
    138137 *
    139  * @return A psArray of strings or NULL on failure
     138 * @return psArray*:    A psArray of strings or NULL on failure
    140139 */
    141140psArray *psDBSelectColumn(
     
    152151 * entire range is returned.  The data in the column is cast to to "pType".
    153152 *
    154  * @return A psVector or NULL on failure
     153 * @return psVector*:   A psVector or NULL on failure
    155154 */
    156155psVector *psDBSelectColumnNum(
     
    174173 * string, e.g. "", to match NULL field values.
    175174 *
    176  * @return A psArray of psMetadata or NULL on failure
     175 * @return psArray*:    A psArray of psMetadata or NULL on failure
    177176 */
    178177psArray *psDBSelectRows(
     
    192191 * specified in "row" that do not exist in "tableName", the insert will fail.
    193192 *
    194  * @return true on success
     193 * @return bool:    true on success
    195194 */
    196195bool psDBInsertOneRow(
     
    207206 * those used in psDBInsertOneRow().
    208207 *
    209  * @return true on success
     208 * @return bool:    true on success
    210209 */
    211210bool psDBInsertRows(
     
    220219 * the same psMetadata format as used in psDBInsertOneRow() & psDBInsertRows().
    221220 *
    222  * @return A psArray of psMetadata or NULL on failure
     221 * @return psArray*:    A psArray of psMetadata or NULL on failure
    223222 */
    224223psArray *psDBDumpRows(
     
    233232 * psMetadata structure where psMetadataItem.name contains the column's name.
    234233 *
    235  * @return A psMetadata containing either a psArrays or psVector per column
     234 * @return psMetadata*:     A psMetadata containing either a psArrays or psVector per column
    236235 */
    237236psMetadata *psDBDumpCols(
     
    249248 * used in psDBInsertOneRow(), etc.
    250249 *
    251  * @return The number of rows modified or a negative value on error
    252  */
    253 psS64 psDBUpdateRows(
     250 * @return long:    The number of rows modified or a negative value on error
     251 */
     252long psDBUpdateRows(
    254253    psDB *dbh,                         ///< Database handle
    255254    const char *tableName,             ///< Table name
     
    266265 * the number of rows that were dropped, only 1 will be returned on success.
    267266 *
    268  * @return The number of rows removed or a negative value on error
    269  */
    270 psS64 psDBDeleteRows(
     267 * @return long:    The number of rows removed or a negative value on error
     268 */
     269long psDBDeleteRows(
    271270    psDB *dbh,                         ///< Database handle
    272271    const char *tableName,             ///< Table name
Note: See TracChangeset for help on using the changeset viewer.