Static Public Member Functions | |
static void | Init (v8::Handle< v8::Object > exports) |
![]() | |
static void | Init (v8::Handle< v8::Object > target, v8::Persistent< v8::FunctionTemplate > constructorTemplate) |
![]() | |
static void | Init () |
Static Public Attributes | |
static v8::Persistent < v8::FunctionTemplate > | constructorTemplate |
Static Protected Member Functions | |
static v8::Handle< v8::Value > | New (const v8::Arguments &args) |
![]() | |
static v8::Handle< v8::Value > | Select (const v8::Arguments &args) |
static v8::Handle< v8::Value > | Skip (const v8::Arguments &args) |
static v8::Handle< v8::Value > | Limit (const v8::Arguments &args) |
static v8::Handle< v8::Value > | First (const v8::Arguments &args) |
static v8::Handle< v8::Value > | From (const v8::Arguments &args) |
static v8::Handle< v8::Value > | Join (const v8::Arguments &args) |
static v8::Handle< v8::Value > | Where (const v8::Arguments &args) |
static v8::Handle< v8::Value > | And (const v8::Arguments &args) |
static v8::Handle< v8::Value > | Or (const v8::Arguments &args) |
static v8::Handle< v8::Value > | OrderBy (const v8::Arguments &args) |
static v8::Handle< v8::Value > | Add (const v8::Arguments &args) |
static v8::Handle< v8::Value > | Insert (const v8::Arguments &args) |
static v8::Handle< v8::Value > | Into (const v8::Arguments &args) |
static v8::Handle< v8::Value > | Values (const v8::Arguments &args) |
static v8::Handle< v8::Value > | Update (const v8::Arguments &args) |
static v8::Handle< v8::Value > | Set (const v8::Arguments &args) |
static v8::Handle< v8::Value > | Delete (const v8::Arguments &args) |
static v8::Handle< v8::Value > | Sql (const v8::Arguments &args) |
static v8::Handle< v8::Value > | Execute (const v8::Arguments &args) |
static void | uvExecute (uv_work_t *uvRequest) |
static void | uvEmitResults (uv_async_t *uvAsync, int status) |
static void | uvExecuteFinished (uv_work_t *Rquest, int status) |
static void | freeRequest (execute_request_t *request, bool freeAll=true) |
Additional Inherited Members | |
![]() | |
enum | query_t { NONE = 0, SELECT = 0x1, INSERT = 0x1 << 1, UPDATE = 0x1 << 2, DELETE = 0x1 << 3 } |
![]() | |
void | setConnection (Connection *connection) |
v8::Handle< v8::Value > | set (const v8::Arguments &args) |
![]() | |
void | executeAsync (execute_request_t *request) |
std::string | fieldName (v8::Local< v8::Value > value) const throw (Exception&) |
std::string | tableName (v8::Local< v8::Value > value, bool escape=true) const throw (Exception&) |
v8::Handle< v8::Value > | addCondition (const v8::Arguments &args, const char *separator) |
v8::Local< v8::Object > | row (Result *result, row_t *currentRow) const |
virtual std::string | parseQuery () const throw (Exception&) |
virtual std::vector < std::string::size_type > | placeholders (std::string *parsed) const throw (Exception&) |
virtual void | addProjections () throw (Exception&) |
virtual Result * | execute () const throw (Exception&) |
std::string | value (v8::Local< v8::Value > value, bool inArray=false, bool escape=true, int precision=-1) const throw (Exception&) |
![]() | |
Connection * | connection |
std::ostringstream | sql |
query_t | sqlType |
projection_clause_t | projection |
std::vector< v8::Persistent < v8::Value > > | values |
bool | async |
bool | cast |
bool | bufferText |
v8::Persistent< v8::Function > * | cbStart |
v8::Persistent< v8::Function > * | cbExecute |
v8::Persistent< v8::Function > * | cbFinish |
![]() | |
static uv_async_t | g_async |
|
staticprotected |