Skip to content

Wip/rboachie/ie 962 persistence layer replacement#11

Open
RbkGh wants to merge 12 commits intomasterfrom
wip/rboachie/ie-962-persistence-layer-replacement
Open

Wip/rboachie/ie 962 persistence layer replacement#11
RbkGh wants to merge 12 commits intomasterfrom
wip/rboachie/ie-962-persistence-layer-replacement

Conversation

@RbkGh
Copy link

@RbkGh RbkGh commented Dec 20, 2022

No description provided.

@RbkGh RbkGh requested a review from jlee-cl December 20, 2022 16:16
queryValues: [type],
additionalWhereStmts: type ? 'type = ?' : ''
}).then((data) => {
}, next).then((data) => {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

db.getData doesn't take a next argument.

const getData = function(req, res, sqlParams) {

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I don't know how I forgot that because I removed it, anyway, thanks. I've pushed the change.

};

const buildSelectStmt = function(req, res, tableFields, sqlParams) {
const buildSelectStmt = function(req, res, tableFields, sqlParams,next) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The next argument isn't used in the function.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done, thanks.

};

var buildWhereStmt = function(req, res, tableFields, sqlParams) {
var buildWhereStmt = function(req, res, tableFields, sqlParams,next) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The next argument isn't used in the function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments