Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
If I'm reading the docs correctly:
1.3.15. execute
*Description:*
Runs a statement that was successfully prepared using *prepare*() once or
multiple times. The statement is processed with the current values of any
application variables that were bound to parameter markers by
*bindParam*().
*Syntax 1:*
execute()
*Syntax 2:*
execute(function *Callback*(*OutParamList*))
*Parameters **Callback*(*OutParamList*):
*Callback *is a callback function to process the output parameters of the
parameter markers. *OutParamList *is a list of the output parameters. It is
in the java script array format.
*Comments:*
* If the statement also return a result set, user can issue the fetch()
function to retrieve the data row by row.
I believe This is saying that when using execute on a prepared statement vs
exec on an SQL statement the rows NEEDS be processed one at a time.
bummer.. returning the entire result set made things so easy to throw into
a jade template. :) Now I'm going to need to change how that's done. I
was wondering what was better practice, looping your result set records in
the node.js or letting your template handle it...
This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.