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
27106877
Commit
27106877
authored
Jul 04, 2010
by
Orlando Vazquez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve awkward binding behaviour with Statement#bindArray.
parent
f89fa7e3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
README.md
README.md
+0
-0
statement.cc
src/statement.cc
+0
-0
statement.h
src/statement.h
+10
-0
No files found.
README.md
View file @
27106877
src/statement.cc
View file @
27106877
This diff is collapsed.
Click to expand it.
src/statement.h
View file @
27106877
...
...
@@ -54,11 +54,16 @@ class Statement : public EventEmitter {
static
int
EIO_Bind
(
eio_req
*
req
);
static
Handle
<
Value
>
Bind
(
const
Arguments
&
args
);
static
int
EIO_AfterBindArray
(
eio_req
*
req
);
static
int
EIO_BindArray
(
eio_req
*
req
);
static
Handle
<
Value
>
BindArray
(
const
Arguments
&
args
);
static
int
EIO_AfterFinalize
(
eio_req
*
req
);
static
int
EIO_Finalize
(
eio_req
*
req
);
static
Handle
<
Value
>
Finalize
(
const
Arguments
&
args
);
static
Handle
<
Value
>
Reset
(
const
Arguments
&
args
);
static
Handle
<
Value
>
ClearBindings
(
const
Arguments
&
args
);
static
int
EIO_AfterStep
(
eio_req
*
req
);
static
int
EIO_Step
(
eio_req
*
req
);
...
...
@@ -100,6 +105,11 @@ struct bind_request {
Persistent
<
Function
>
cb
;
Statement
*
sto
;
struct
bind_pair
*
pairs
;
size_t
len
;
};
struct
bind_pair
{
enum
BindKeyType
key_type
;
enum
BindValueType
value_type
;
...
...
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