File Information
Library: JS/Data
Package: Wrappers
Header: Poco/JS/Data/SessionWrapper.h
Description
JavaScript wrapper for Poco::Data::Session.
Inheritance
Direct Base Classes: Poco::JS::Core::Wrapper
All Base Classes: Poco::JS::Core::Wrapper
Member Summary
Member Functions: begin, close, commit, construct, constructor, execute, executeNonQuery, getConnectionString, getConnector, getIsConnected, getIsTransaction, getPageSize, isSession, objectTemplate, rollback, setPageSize
Inherited Functions: checkSetResult, isWrapper, objectTemplate, reportEmptySetResult, returnException, returnString, safeUnwrapNative, toString, toV8Internalized, toV8String, unwrapNative, unwrapNativeObject, wrapNative, wrapNativePersistent
Constructors
SessionWrapper
Creates the SessionWrapper.
Destructor
~SessionWrapper
~SessionWrapper();
Destroys the SessionWrapper.
Member Functions
construct
static void construct(
const v8::FunctionCallbackInfo < v8::Value > & args
);
Creates a JavaScript Session object.
constructor
v8::Handle < v8::FunctionTemplate > constructor(
v8::Isolate * pIsolate
);
Creates and returns a V8 FunctionTemplate for the constructor function.
isSession
static void isSession(
const v8::FunctionCallbackInfo < v8::Value > & args
);
Checks whether the given argument is a SessionWrapper.
objectTemplate
v8::Handle < v8::ObjectTemplate > objectTemplate(
v8::Isolate * pIsolate
);
begin
static void begin(
const v8::FunctionCallbackInfo < v8::Value > & args
);
close
static void close(
const v8::FunctionCallbackInfo < v8::Value > & args
);
commit
static void commit(
const v8::FunctionCallbackInfo < v8::Value > & args
);
execute
static void execute(
const v8::FunctionCallbackInfo < v8::Value > & args
);
executeNonQuery
static void executeNonQuery(
const v8::FunctionCallbackInfo < v8::Value > & args
);
getConnectionString
static void getConnectionString(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
getConnector
static void getConnector(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
getIsConnected
static void getIsConnected(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
getIsTransaction
static void getIsTransaction(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
getPageSize
static void getPageSize(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
rollback
static void rollback(
const v8::FunctionCallbackInfo < v8::Value > & args
);
setPageSize
static void setPageSize(
v8::Local < v8::String > name,
v8::Local < v8::Value > value,
const v8::PropertyCallbackInfo < void > & info
);