{"id":28555833,"url":"https://github.com/totaljs/querybuildermysql2","last_synced_at":"2025-07-07T18:31:30.422Z","repository":{"id":53698834,"uuid":"457321763","full_name":"totaljs/querybuildermysql2","owner":"totaljs","description":"A QueryBuilder for MySQL","archived":false,"fork":false,"pushed_at":"2023-08-14T10:07:26.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-03T15:50:53.862Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/totaljs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-09T11:01:53.000Z","updated_at":"2022-02-09T12:03:54.000Z","dependencies_parsed_at":"2024-10-23T16:47:00.867Z","dependency_job_id":"28d45cd3-86b2-4fe1-8b18-76c886e4085a","html_url":"https://github.com/totaljs/querybuildermysql2","commit_stats":{"total_commits":14,"total_committers":2,"mean_commits":7.0,"dds":0.0714285714285714,"last_synced_commit":"c05ae6f98334f43c31cf245fb5d0036b810933cc"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/totaljs%2Fquerybuildermysql2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/totaljs%2Fquerybuildermysql2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/totaljs%2Fquerybuildermysql2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/totaljs%2Fquerybuildermysql2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/totaljs","download_url":"https://codeload.github.com/totaljs/querybuildermysql2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/totaljs%2Fquerybuildermysql2/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":258515460,"owners_count":22713559,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-10T06:08:02.123Z","updated_at":"2025-07-07T18:31:30.416Z","avatar_url":"https://github.com/totaljs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Total.js QueryBuilder: MySQL\n\nA simple QueryBuilder integrator for MySQL database.\n\n- [Documentation](https://docs.totaljs.com/total4/)\n- `$ npm install querybuildermysql2`\n\n__Initialization__:\n\n```js\n// require('querybuildermysql2').init(name, connectionstring, pooling, [errorhandling]);\n// name {String} a name of DB (default: \"default\")\n// connectionstring {String} a connection to the MySQL\n// pooling {Number} max. clients (default: \"0\" (disabled))\n// errorhandling {Function(err, cmd)}\n\nrequire('querybuildermysql2').init('default', CONF.database);\n// require('querybuildermysql').init('default', CONF.database, 10);\n```\n\n__Usage__:\n\n```js\nDB().find('tbl_user').where('id', 1234).callback(console.log);\n// DB('default').find('tbl_user').where('id', 1234).callback(console.log);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftotaljs%2Fquerybuildermysql2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftotaljs%2Fquerybuildermysql2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftotaljs%2Fquerybuildermysql2/lists"}