Skip to content

Wip/rboachie/ie 962 persistence layer replacement - #11

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

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

Conversation

@RbkGh

@RbkGh RbkGh commented Dec 20, 2022

Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown
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.

Comment thread utils/database.js Outdated
};

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

Copy link
Copy Markdown

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
Copy Markdown
Author

Choose a reason for hiding this comment

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

done, thanks.

Comment thread utils/database.js Outdated
};

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

Copy link
Copy Markdown

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