Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sqlite3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
node-sqlite3
Commits
6d431fa7
Commit
6d431fa7
authored
Feb 21, 2011
by
Konstantin Käfer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
implement .bind()
parent
07f206e8
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
179 additions
and
66 deletions
+179
-66
statement.cc
src/statement.cc
+168
-66
statement.h
src/statement.h
+11
-0
No files found.
src/statement.cc
View file @
6d431fa7
This diff is collapsed.
Click to expand it.
src/statement.h
View file @
6d431fa7
...
...
@@ -95,6 +95,12 @@ public:
}
};
static
struct
BindBaton
:
Baton
{
BindBaton
(
Statement
*
stmt_
,
Handle
<
Function
>
cb_
)
:
Baton
(
stmt_
,
cb_
)
{}
Result
::
Row
values
;
};
static
struct
RowBaton
:
Baton
{
RowBaton
(
Statement
*
stmt_
,
Handle
<
Function
>
cb_
)
:
Baton
(
stmt_
,
cb_
)
{}
...
...
@@ -137,6 +143,11 @@ public:
}
protected
:
static
Handle
<
Value
>
Bind
(
const
Arguments
&
args
);
static
void
EIO_BeginBind
(
Baton
*
baton
);
static
int
EIO_Bind
(
eio_req
*
req
);
static
int
EIO_AfterBind
(
eio_req
*
req
);
static
Handle
<
Value
>
Run
(
const
Arguments
&
args
);
static
void
EIO_BeginRun
(
Baton
*
baton
);
static
int
EIO_Run
(
eio_req
*
req
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment