updated console and server repo name

This commit is contained in:
strawmanbobi
2025-10-28 10:30:20 +08:00
parent 8c11d328ad
commit 7d8c328813
208 changed files with 1 additions and 64 deletions

View File

@@ -0,0 +1,22 @@
/*
* Created by Strawmanbobi
* 2014-08-30
*/
function objectMemberCount(conditions) {
let memberCount = 0;
for(let f in conditions) {
memberCount++;
}
let whereClause = "";
let index = 0;
for(let field in conditions) {
whereClause += field + " = '" + conditions[field] + "'";
if(index < memberCount - 1) {
whereClause += " AND ";
}
}
return whereClause;
}
module.exports = objectMemberCount;