-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Description
| return query( _sql, [ table, id, start, end ] ) |
The Demo code here has something wrong.
let findDataById = function( table, id ) {
let _sql = "SELECT * FROM ?? WHERE id = ? "
return query( _sql, [ table, id, start, end ] )
}
Solution
let findDataById = function( table, id ) {
let _sql = "SELECT * FROM ?? WHERE id = ? "
return query( _sql, [ table, id] )
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels