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
e4ca9eeb
Commit
e4ca9eeb
authored
Feb 21, 2011
by
Konstantin Käfer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
separate .run() and .get() functions
parent
482517de
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
178 additions
and
61 deletions
+178
-61
statement.cc
src/statement.cc
+133
-47
statement.h
src/statement.h
+10
-11
prepare.test.js
test/prepare.test.js
+35
-3
No files found.
src/statement.cc
View file @
e4ca9eeb
...
@@ -36,6 +36,7 @@ void Statement::Init(v8::Handle<Object> target) {
...
@@ -36,6 +36,7 @@ void Statement::Init(v8::Handle<Object> target) {
NODE_SET_PROTOTYPE_METHOD
(
constructor_template
,
"bind"
,
Bind
);
NODE_SET_PROTOTYPE_METHOD
(
constructor_template
,
"bind"
,
Bind
);
NODE_SET_PROTOTYPE_METHOD
(
constructor_template
,
"get"
,
Get
);
NODE_SET_PROTOTYPE_METHOD
(
constructor_template
,
"get"
,
Get
);
NODE_SET_PROTOTYPE_METHOD
(
constructor_template
,
"run"
,
Run
);
NODE_SET_PROTOTYPE_METHOD
(
constructor_template
,
"reset"
,
Reset
);
NODE_SET_PROTOTYPE_METHOD
(
constructor_template
,
"reset"
,
Reset
);
NODE_SET_PROTOTYPE_METHOD
(
constructor_template
,
"finalize"
,
Finalize
);
NODE_SET_PROTOTYPE_METHOD
(
constructor_template
,
"finalize"
,
Finalize
);
...
@@ -175,10 +176,7 @@ int Statement::EIO_AfterPrepare(eio_req *req) {
...
@@ -175,10 +176,7 @@ int Statement::EIO_AfterPrepare(eio_req *req) {
return
0
;
return
0
;
}
}
Handle
<
Value
>
Statement
::
Bind
(
const
Arguments
&
args
)
{
template
<
class
T
>
T
*
Statement
::
Bind
(
const
Arguments
&
args
)
{
HandleScope
scope
;
Statement
*
stmt
=
ObjectWrap
::
Unwrap
<
Statement
>
(
args
.
This
());
int
last
=
args
.
Length
();
int
last
=
args
.
Length
();
Local
<
Function
>
callback
;
Local
<
Function
>
callback
;
if
(
last
>
0
&&
args
[
last
-
1
]
->
IsFunction
())
{
if
(
last
>
0
&&
args
[
last
-
1
]
->
IsFunction
())
{
...
@@ -186,81 +184,113 @@ Handle<Value> Statement::Bind(const Arguments& args) {
...
@@ -186,81 +184,113 @@ Handle<Value> Statement::Bind(const Arguments& args) {
last
--
;
last
--
;
}
}
BindBaton
*
baton
=
new
BindBaton
(
stmt
,
callback
);
T
*
baton
=
new
T
(
this
,
callback
);
for
(
int
i
=
0
;
i
<
last
;
i
++
)
{
for
(
int
i
=
0
;
i
<
last
;
i
++
)
{
if
(
args
[
i
]
->
IsString
())
{
if
(
args
[
i
]
->
IsString
())
{
String
::
Utf8Value
val
(
args
[
i
]
->
ToString
());
String
::
Utf8Value
val
(
args
[
i
]
->
ToString
());
baton
->
value
s
.
push_back
(
new
Result
::
Text
(
val
.
length
(),
*
val
));
baton
->
parameter
s
.
push_back
(
new
Result
::
Text
(
val
.
length
(),
*
val
));
}
}
else
if
(
args
[
i
]
->
IsInt32
()
||
args
[
i
]
->
IsUint32
())
{
else
if
(
args
[
i
]
->
IsInt32
()
||
args
[
i
]
->
IsUint32
())
{
baton
->
value
s
.
push_back
(
new
Result
::
Integer
(
args
[
i
]
->
Int32Value
()));
baton
->
parameter
s
.
push_back
(
new
Result
::
Integer
(
args
[
i
]
->
Int32Value
()));
}
}
else
if
(
args
[
i
]
->
IsNumber
())
{
else
if
(
args
[
i
]
->
IsNumber
())
{
baton
->
value
s
.
push_back
(
new
Result
::
Float
(
args
[
i
]
->
NumberValue
()));
baton
->
parameter
s
.
push_back
(
new
Result
::
Float
(
args
[
i
]
->
NumberValue
()));
}
}
else
if
(
args
[
i
]
->
IsBoolean
())
{
else
if
(
args
[
i
]
->
IsBoolean
())
{
baton
->
value
s
.
push_back
(
new
Result
::
Integer
(
args
[
i
]
->
BooleanValue
()
?
1
:
0
));
baton
->
parameter
s
.
push_back
(
new
Result
::
Integer
(
args
[
i
]
->
BooleanValue
()
?
1
:
0
));
}
}
else
if
(
args
[
i
]
->
IsNull
()
||
args
[
i
]
->
IsUndefined
())
{
else
if
(
args
[
i
]
->
IsNull
())
{
baton
->
values
.
push_back
(
new
Result
::
Null
());
baton
->
parameters
.
push_back
(
new
Result
::
Null
());
}
else
if
(
args
[
i
]
->
IsUndefined
())
{
// Skip parameter position.
baton
->
parameters
.
push_back
(
NULL
);
}
}
else
{
else
{
return
ThrowException
(
Exception
::
Error
(
String
::
New
(
"Data type is not supported"
)));
delete
baton
;
return
NULL
;
}
}
}
}
stmt
->
Schedule
(
EIO_BeginBind
,
baton
);
return
baton
;
return
args
.
This
();
}
}
void
Statement
::
EIO_BeginBind
(
Baton
*
baton
)
{
bool
Statement
::
Bind
(
const
Result
::
Row
parameters
)
{
assert
(
!
baton
->
stmt
->
locked
);
if
(
parameters
.
size
()
==
0
)
{
assert
(
!
baton
->
stmt
->
finalized
);
return
true
;
assert
(
baton
->
stmt
->
prepared
);
}
baton
->
stmt
->
locked
=
true
;
eio_custom
(
EIO_Bind
,
EIO_PRI_DEFAULT
,
EIO_AfterBind
,
baton
);
}
int
Statement
::
EIO_Bind
(
eio_req
*
req
)
{
sqlite3_reset
(
handle
);
STATEMENT_INIT
(
BindBaton
);
sqlite3_clear_bindings
(
handle
);
sqlite3_mutex
*
mtx
=
sqlite3_db_mutex
(
stmt
->
db
->
handle
);
Result
::
Row
::
const_iterator
it
=
parameters
.
begin
(
);
sqlite3_mutex_enter
(
mtx
);
Result
::
Row
::
const_iterator
end
=
parameters
.
end
(
);
Result
::
Row
::
iterator
it
=
baton
->
values
.
begin
();
// Note: bind parameters start with 1.
// Note: bind parameters start with 1.
for
(
int
i
=
1
;
it
<
baton
->
values
.
end
()
;
it
++
,
i
++
)
{
for
(
int
i
=
1
;
it
<
end
;
it
++
,
i
++
)
{
Result
::
Field
*
field
=
*
it
;
Result
::
Field
*
field
=
*
it
;
if
(
field
==
NULL
)
{
continue
;
}
switch
(
field
->
type
)
{
switch
(
field
->
type
)
{
case
SQLITE_INTEGER
:
{
case
SQLITE_INTEGER
:
{
stmt
->
status
=
sqlite3_bind_int
(
stmt
->
handle
,
i
,
status
=
sqlite3_bind_int
(
handle
,
i
,
((
Result
::
Integer
*
)
field
)
->
value
);
((
Result
::
Integer
*
)
field
)
->
value
);
}
break
;
}
break
;
case
SQLITE_FLOAT
:
{
case
SQLITE_FLOAT
:
{
stmt
->
status
=
sqlite3_bind_double
(
stmt
->
handle
,
i
,
status
=
sqlite3_bind_double
(
handle
,
i
,
((
Result
::
Float
*
)
field
)
->
value
);
((
Result
::
Float
*
)
field
)
->
value
);
}
break
;
}
break
;
case
SQLITE_TEXT
:
{
case
SQLITE_TEXT
:
{
st
mt
->
st
atus
=
sqlite3_bind_text
(
status
=
sqlite3_bind_text
(
stmt
->
handle
,
i
,
((
Result
::
Text
*
)
field
)
->
value
.
c_str
(),
handle
,
i
,
((
Result
::
Text
*
)
field
)
->
value
.
c_str
(),
((
Result
::
Text
*
)
field
)
->
value
.
size
(),
SQLITE_TRANSIENT
);
((
Result
::
Text
*
)
field
)
->
value
.
size
(),
SQLITE_TRANSIENT
);
}
break
;
}
break
;
// case SQLITE_BLOB: {
// case SQLITE_BLOB: {
//
//
// } break;
// } break;
case
SQLITE_NULL
:
{
case
SQLITE_NULL
:
{
st
mt
->
status
=
sqlite3_bind_null
(
stmt
->
handle
,
i
);
st
atus
=
sqlite3_bind_null
(
handle
,
i
);
}
break
;
}
break
;
}
}
if
(
st
mt
->
st
atus
!=
SQLITE_OK
)
{
if
(
status
!=
SQLITE_OK
)
{
stmt
->
message
=
std
::
string
(
sqlite3_errmsg
(
stmt
->
db
->
handle
));
message
=
std
::
string
(
sqlite3_errmsg
(
db
->
handle
));
break
;
return
false
;
}
}
}
}
return
true
;
}
Handle
<
Value
>
Statement
::
Bind
(
const
Arguments
&
args
)
{
HandleScope
scope
;
Statement
*
stmt
=
ObjectWrap
::
Unwrap
<
Statement
>
(
args
.
This
());
Baton
*
baton
=
stmt
->
Bind
<
Baton
>
(
args
);
if
(
baton
==
NULL
)
{
return
ThrowException
(
Exception
::
Error
(
String
::
New
(
"Data type is not supported"
)));
}
else
{
stmt
->
Schedule
(
EIO_BeginBind
,
baton
);
return
args
.
This
();
}
}
void
Statement
::
EIO_BeginBind
(
Baton
*
baton
)
{
assert
(
!
baton
->
stmt
->
locked
);
assert
(
!
baton
->
stmt
->
finalized
);
assert
(
baton
->
stmt
->
prepared
);
baton
->
stmt
->
locked
=
true
;
eio_custom
(
EIO_Bind
,
EIO_PRI_DEFAULT
,
EIO_AfterBind
,
baton
);
}
int
Statement
::
EIO_Bind
(
eio_req
*
req
)
{
STATEMENT_INIT
(
Baton
);
sqlite3_mutex
*
mtx
=
sqlite3_db_mutex
(
stmt
->
db
->
handle
);
sqlite3_mutex_enter
(
mtx
);
stmt
->
Bind
(
baton
->
parameters
);
sqlite3_mutex_leave
(
mtx
);
sqlite3_mutex_leave
(
mtx
);
return
0
;
return
0
;
...
@@ -268,7 +298,7 @@ int Statement::EIO_Bind(eio_req *req) {
...
@@ -268,7 +298,7 @@ int Statement::EIO_Bind(eio_req *req) {
int
Statement
::
EIO_AfterBind
(
eio_req
*
req
)
{
int
Statement
::
EIO_AfterBind
(
eio_req
*
req
)
{
HandleScope
scope
;
HandleScope
scope
;
STATEMENT_INIT
(
B
indB
aton
);
STATEMENT_INIT
(
Baton
);
if
(
stmt
->
status
!=
SQLITE_OK
)
{
if
(
stmt
->
status
!=
SQLITE_OK
)
{
Error
(
baton
);
Error
(
baton
);
...
@@ -291,9 +321,7 @@ Handle<Value> Statement::Get(const Arguments& args) {
...
@@ -291,9 +321,7 @@ Handle<Value> Statement::Get(const Arguments& args) {
HandleScope
scope
;
HandleScope
scope
;
Statement
*
stmt
=
ObjectWrap
::
Unwrap
<
Statement
>
(
args
.
This
());
Statement
*
stmt
=
ObjectWrap
::
Unwrap
<
Statement
>
(
args
.
This
());
OPTIONAL_ARGUMENT_FUNCTION
(
0
,
callback
);
Baton
*
baton
=
stmt
->
Bind
<
RowBaton
>
(
args
);
RowBaton
*
baton
=
new
RowBaton
(
stmt
,
callback
);
stmt
->
Schedule
(
EIO_BeginGet
,
baton
);
stmt
->
Schedule
(
EIO_BeginGet
,
baton
);
return
args
.
This
();
return
args
.
This
();
...
@@ -311,15 +339,15 @@ int Statement::EIO_Get(eio_req *req) {
...
@@ -311,15 +339,15 @@ int Statement::EIO_Get(eio_req *req) {
STATEMENT_INIT
(
RowBaton
);
STATEMENT_INIT
(
RowBaton
);
if
(
stmt
->
status
!=
SQLITE_DONE
)
{
if
(
stmt
->
status
!=
SQLITE_DONE
)
{
// In case preparing fails, we use a mutex to make sure we get the associated
// error message.
sqlite3_mutex
*
mtx
=
sqlite3_db_mutex
(
stmt
->
db
->
handle
);
sqlite3_mutex
*
mtx
=
sqlite3_db_mutex
(
stmt
->
db
->
handle
);
sqlite3_mutex_enter
(
mtx
);
sqlite3_mutex_enter
(
mtx
);
stmt
->
status
=
sqlite3_step
(
stmt
->
handle
);
if
(
stmt
->
Bind
(
baton
->
parameters
))
{
stmt
->
status
=
sqlite3_step
(
stmt
->
handle
);
if
(
!
(
stmt
->
status
==
SQLITE_ROW
||
stmt
->
status
==
SQLITE_DONE
))
{
if
(
!
(
stmt
->
status
==
SQLITE_ROW
||
stmt
->
status
==
SQLITE_DONE
))
{
stmt
->
message
=
std
::
string
(
sqlite3_errmsg
(
stmt
->
db
->
handle
));
stmt
->
message
=
std
::
string
(
sqlite3_errmsg
(
stmt
->
db
->
handle
));
}
}
}
sqlite3_mutex_leave
(
mtx
);
sqlite3_mutex_leave
(
mtx
);
...
@@ -359,6 +387,64 @@ int Statement::EIO_AfterGet(eio_req *req) {
...
@@ -359,6 +387,64 @@ int Statement::EIO_AfterGet(eio_req *req) {
return
0
;
return
0
;
}
}
Handle
<
Value
>
Statement
::
Run
(
const
Arguments
&
args
)
{
HandleScope
scope
;
Statement
*
stmt
=
ObjectWrap
::
Unwrap
<
Statement
>
(
args
.
This
());
OPTIONAL_ARGUMENT_FUNCTION
(
0
,
callback
);
Baton
*
baton
=
new
Baton
(
stmt
,
callback
);
stmt
->
Schedule
(
EIO_BeginRun
,
baton
);
return
args
.
This
();
}
void
Statement
::
EIO_BeginRun
(
Baton
*
baton
)
{
assert
(
!
baton
->
stmt
->
locked
);
assert
(
!
baton
->
stmt
->
finalized
);
assert
(
baton
->
stmt
->
prepared
);
baton
->
stmt
->
locked
=
true
;
eio_custom
(
EIO_Run
,
EIO_PRI_DEFAULT
,
EIO_AfterRun
,
baton
);
}
int
Statement
::
EIO_Run
(
eio_req
*
req
)
{
STATEMENT_INIT
(
Baton
);
sqlite3_reset
(
stmt
->
handle
);
sqlite3_mutex
*
mtx
=
sqlite3_db_mutex
(
stmt
->
db
->
handle
);
sqlite3_mutex_enter
(
mtx
);
stmt
->
status
=
sqlite3_step
(
stmt
->
handle
);
if
(
!
(
stmt
->
status
==
SQLITE_ROW
||
stmt
->
status
==
SQLITE_DONE
))
{
stmt
->
message
=
std
::
string
(
sqlite3_errmsg
(
stmt
->
db
->
handle
));
}
sqlite3_mutex_leave
(
mtx
);
return
0
;
}
int
Statement
::
EIO_AfterRun
(
eio_req
*
req
)
{
HandleScope
scope
;
STATEMENT_INIT
(
Baton
);
if
(
stmt
->
status
!=
SQLITE_ROW
&&
stmt
->
status
!=
SQLITE_DONE
)
{
Error
(
baton
);
}
else
{
// Fire callbacks.
if
(
!
baton
->
callback
.
IsEmpty
()
&&
baton
->
callback
->
IsFunction
())
{
Local
<
Value
>
argv
[]
=
{
Local
<
Value
>::
New
(
Null
())
};
TRY_CATCH_CALL
(
stmt
->
handle_
,
baton
->
callback
,
1
,
argv
);
}
}
STATEMENT_END
();
return
0
;
}
Handle
<
Value
>
Statement
::
Reset
(
const
Arguments
&
args
)
{
Handle
<
Value
>
Statement
::
Reset
(
const
Arguments
&
args
)
{
HandleScope
scope
;
HandleScope
scope
;
Statement
*
stmt
=
ObjectWrap
::
Unwrap
<
Statement
>
(
args
.
This
());
Statement
*
stmt
=
ObjectWrap
::
Unwrap
<
Statement
>
(
args
.
This
());
...
...
src/statement.h
View file @
e4ca9eeb
...
@@ -82,6 +82,7 @@ public:
...
@@ -82,6 +82,7 @@ public:
static
struct
Baton
{
static
struct
Baton
{
Statement
*
stmt
;
Statement
*
stmt
;
Persistent
<
Function
>
callback
;
Persistent
<
Function
>
callback
;
Result
::
Row
parameters
;
Baton
(
Statement
*
stmt_
,
Handle
<
Function
>
cb_
)
:
stmt
(
stmt_
)
{
Baton
(
Statement
*
stmt_
,
Handle
<
Function
>
cb_
)
:
stmt
(
stmt_
)
{
stmt
->
Ref
();
stmt
->
Ref
();
...
@@ -95,12 +96,6 @@ public:
...
@@ -95,12 +96,6 @@ public:
}
}
};
};
static
struct
BindBaton
:
Baton
{
BindBaton
(
Statement
*
stmt_
,
Handle
<
Function
>
cb_
)
:
Baton
(
stmt_
,
cb_
)
{}
Result
::
Row
values
;
};
static
struct
RowBaton
:
Baton
{
static
struct
RowBaton
:
Baton
{
RowBaton
(
Statement
*
stmt_
,
Handle
<
Function
>
cb_
)
:
RowBaton
(
Statement
*
stmt_
,
Handle
<
Function
>
cb_
)
:
Baton
(
stmt_
,
cb_
)
{}
Baton
(
stmt_
,
cb_
)
{}
...
@@ -149,19 +144,23 @@ protected:
...
@@ -149,19 +144,23 @@ protected:
EIO_DEFINITION
(
Bind
);
EIO_DEFINITION
(
Bind
);
EIO_DEFINITION
(
Get
);
EIO_DEFINITION
(
Get
);
EIO_DEFINITION
(
Run
);
EIO_DEFINITION
(
Reset
);
EIO_DEFINITION
(
Reset
);
static
Handle
<
Value
>
Finalize
(
const
Arguments
&
args
);
static
void
Finalize
(
Baton
*
baton
);
void
Finalize
();
template
<
class
T
>
T
*
Bind
(
const
Arguments
&
args
);
bool
Bind
(
const
Result
::
Row
parameters
);
static
void
GetRow
(
Result
::
Row
*
row
,
sqlite3_stmt
*
stmt
);
static
void
GetRow
(
Result
::
Row
*
row
,
sqlite3_stmt
*
stmt
);
static
Local
<
Array
>
RowToJS
(
Result
::
Row
*
row
);
static
Local
<
Array
>
RowToJS
(
Result
::
Row
*
row
);
void
Schedule
(
EIO_Callback
callback
,
Baton
*
baton
);
void
Schedule
(
EIO_Callback
callback
,
Baton
*
baton
);
void
Process
();
void
Process
();
void
CleanQueue
();
void
CleanQueue
();
static
Handle
<
Value
>
Finalize
(
const
Arguments
&
args
);
static
void
Finalize
(
Baton
*
baton
);
template
<
class
T
>
static
void
Error
(
T
*
baton
);
template
<
class
T
>
static
void
Error
(
T
*
baton
);
void
Finalize
();
protected
:
protected
:
Database
*
db
;
Database
*
db
;
...
...
test/prepare.test.js
View file @
e4ca9eeb
...
@@ -23,7 +23,7 @@ exports['test simple prepared statement'] = function(beforeExit) {
...
@@ -23,7 +23,7 @@ exports['test simple prepared statement'] = function(beforeExit) {
var
run
=
false
;
var
run
=
false
;
var
db
=
new
sqlite3
.
Database
(
':memory:'
);
var
db
=
new
sqlite3
.
Database
(
':memory:'
);
db
.
prepare
(
"CREATE TABLE foo (text bar)"
)
db
.
prepare
(
"CREATE TABLE foo (text bar)"
)
.
get
(
function
(
err
)
{
.
run
(
function
(
err
)
{
if
(
err
)
throw
err
;
if
(
err
)
throw
err
;
run
=
true
;
run
=
true
;
})
})
...
@@ -46,7 +46,7 @@ exports['test inserting and retrieving rows'] = function(beforeExit) {
...
@@ -46,7 +46,7 @@ exports['test inserting and retrieving rows'] = function(beforeExit) {
Step
(
Step
(
function
()
{
function
()
{
db
.
prepare
(
"CREATE TABLE foo (txt text, num int, flt float, blb blob)"
).
get
(
this
);
db
.
prepare
(
"CREATE TABLE foo (txt text, num int, flt float, blb blob)"
).
run
(
this
);
},
},
function
(
err
)
{
function
(
err
)
{
if
(
err
)
throw
err
;
if
(
err
)
throw
err
;
...
@@ -58,7 +58,7 @@ exports['test inserting and retrieving rows'] = function(beforeExit) {
...
@@ -58,7 +58,7 @@ exports['test inserting and retrieving rows'] = function(beforeExit) {
i
,
i
,
i
*
Math
.
PI
i
*
Math
.
PI
// null (SQLite sets this implicitly)
// null (SQLite sets this implicitly)
).
get
(
group
());
).
run
(
group
());
}
}
},
},
function
(
err
,
rows
)
{
function
(
err
,
rows
)
{
...
@@ -126,3 +126,35 @@ exports['test retrieving reset() function'] = function(beforeExit) {
...
@@ -126,3 +126,35 @@ exports['test retrieving reset() function'] = function(beforeExit) {
assert
.
equal
(
10
,
retrieved
,
"Didn't retrieve all rows"
);
assert
.
equal
(
10
,
retrieved
,
"Didn't retrieve all rows"
);
});
});
};
};
exports
[
'test get() function binding'
]
=
function
(
beforeExit
)
{
var
db
=
new
sqlite3
.
Database
(
'test/support/prepare.db'
,
sqlite3
.
OPEN_READONLY
);
var
retrieved
=
0
;
Step
(
function
()
{
var
stmt
=
db
.
prepare
(
"SELECT txt, num, flt, blb FROM foo WHERE num = ?"
);
var
group
=
this
.
group
();
for
(
var
i
=
0
;
i
<
10
;
i
++
)
{
stmt
.
get
(
i
*
10
+
1
,
group
());
}
},
function
(
err
,
rows
)
{
if
(
err
)
throw
err
;
for
(
var
i
=
0
;
i
<
rows
.
length
;
i
++
)
{
var
val
=
i
*
10
+
1
;
assert
.
equal
(
rows
[
i
][
0
],
'String '
+
val
);
assert
.
equal
(
rows
[
i
][
1
],
val
);
assert
.
equal
(
rows
[
i
][
2
],
val
*
Math
.
PI
);
assert
.
equal
(
rows
[
i
][
3
],
null
);
retrieved
++
;
}
}
);
beforeExit
(
function
()
{
assert
.
equal
(
10
,
retrieved
,
"Didn't retrieve all rows"
);
});
};
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