Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Emmanuel QUEVILLON
BIGSdb
Commits
f4733341
Commit
f4733341
authored
Jan 14, 2015
by
Keith Jolley
Browse files
Remove deprecated method Datastore::run_list_query_hashref.
parent
127e9b4f
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/BIGSdb/Datastore.pm
View file @
f4733341
...
...
@@ -1668,19 +1668,6 @@ sub run_simple_query {
return
$data
;
}
sub
run_list_query_hashref
{
#Deprecated! Use run_query instead.
#runs query against current database (arrayref of hashrefs returned)
my
(
$self
,
$qry
,
@values
)
=
@_
;
$logger
->
logcarp
("
Datastore::run_list_query_hashref is deprecated! Use Datastore::run_query instead.
");
#TODO remove method
$logger
->
debug
("
Query:
$qry
");
my
$sql
=
$self
->
{'
db
'}
->
prepare
(
$qry
);
eval
{
$sql
->
execute
(
@values
)
};
$logger
->
logcarp
("
$qry
$@
")
if
$@
;
return
$sql
->
fetchall_arrayref
(
{}
);
}
sub
run_list_query
{
#Deprecated! Use run_query instead.
...
...
Write
Preview
Supports
Markdown
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