IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4259


Ignore:
Timestamp:
Jun 14, 2005, 3:08:13 PM (21 years ago)
Author:
jhoblitt
Message:

change p_psDBRunQuery() to accept a printf() style format

Location:
trunk/doc/pslib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/pslib/ChangeLogSDRS.tex

    r4258 r4259  
    1 %%% $Id: ChangeLogSDRS.tex,v 1.143 2005-06-15 01:03:19 jhoblitt Exp $
     1%%% $Id: ChangeLogSDRS.tex,v 1.144 2005-06-15 01:08:13 jhoblitt Exp $
    22
    33\subsection{Changes from version 00 to version 01}
     
    717717\item added psImageMaskCircle, psImageKeepCircle
    718718\item add \code{limit} param to \code{psDBDeleteRows()}
    719 \end{itemize}
     719\item change \code{p_psDBRunQuery()} to accept a \code{printf()} style format
     720\end{itemize}
  • trunk/doc/pslib/psLibSDRS.tex

    r4258 r4259  
    1 %%% $Id: psLibSDRS.tex,v 1.285 2005-06-15 01:03:19 jhoblitt Exp $
     1%%% $Id: psLibSDRS.tex,v 1.286 2005-06-15 01:08:13 jhoblitt Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    34433443
    34443444\begin{prototype}
    3445 bool p_psDBRunQuery(psDB *dbh, const char *query);
    3446 \end{prototype}
    3447 
    3448 This function will execute a string as a raw SQL query.  No additional
    3449 processing of the string or abstraction of the underlying database's SQL
    3450 dialect is provided.
     3445bool p_psDBRunQuery(psDB *dbh, const char *format, ...);
     3446\end{prototype}
     3447
     3448This function will execute a string as a raw SQL query.  \code{format} is a
     3449\code{printf} style formatting code to be implimented with \code{vsprintf()}.
     3450No additional processing of the string or abstraction of the underlying
     3451database's SQL dialect is provided.
    34513452
    34523453\begin{prototype}
Note: See TracChangeset for help on using the changeset viewer.