Stproc

NES3+Syntax

Core object created by the storedProc() method of the database or Connection objects.

Description

The Stproc object is a core server-side object that is created by the storedProc() method of the database or Connection objects. Because of the nature of connections to a database, you should call the close() method of this object when you have completed your processing. This will free any and all memory used by the stored procedure. Otherwise, the object will be destroyed when the database or Connection objects go out of scope.

The object itself has only one property—prototype. This property can be used to add methods and properties to the object as needed. Table 8.26 lists the methods of the Stproc object.

Table 8.26. Methods ...

Get Pure JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.