{"id":19845354,"url":"https://github.com/qavajs/steps-sql","last_synced_at":"2025-05-01T21:30:29.239Z","repository":{"id":64863443,"uuid":"579046801","full_name":"qavajs/steps-sql","owner":"qavajs","description":"Step library to work with relational databases","archived":false,"fork":false,"pushed_at":"2024-10-29T12:18:58.000Z","size":670,"stargazers_count":6,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-29T13:30:54.270Z","etag":null,"topics":["qa","test-automation","testing"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/qavajs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-12-16T14:23:33.000Z","updated_at":"2024-10-29T11:49:10.000Z","dependencies_parsed_at":"2024-01-16T10:05:25.468Z","dependency_job_id":null,"html_url":"https://github.com/qavajs/steps-sql","commit_stats":{"total_commits":5,"total_committers":2,"mean_commits":2.5,"dds":"0.19999999999999996","last_synced_commit":"f36fa5717493db53c415f0831cb986cca90c8167"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qavajs%2Fsteps-sql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qavajs%2Fsteps-sql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qavajs%2Fsteps-sql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qavajs%2Fsteps-sql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qavajs","download_url":"https://codeload.github.com/qavajs/steps-sql/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224278484,"owners_count":17285080,"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":["qa","test-automation","testing"],"created_at":"2024-11-12T13:07:23.514Z","updated_at":"2025-05-01T21:30:29.226Z","avatar_url":"https://github.com/qavajs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @qavajs/steps-sql\nStep library to work with relational databases\n\n## Installation\n`npm install @qavajs/steps-sql`\n\n## Configuration\n```typescript\nimport { MySQLClient, PgClient } from '@qavajs/steps-sql/clients';\nexport default {\n    require: [\n        '@qavajs/steps-sql'\n    ],\n    // provide map contains client that implemennts DBClient interface\n    // if only one client exist it can be defined as default property\n    dbClients: {\n        default: new MySQLClient({\n            host: 'http://127.0.0.1',\n            port: 3306,\n            database: 'qavajsdb',\n            user: 'username',\n            password: 'password'\n        }),\n        pg: new MySQLClient({\n            host: 'http://127.0.0.1',\n            port: 3306,\n            database: 'qavajsdb2',\n            username: 'username',\n            password: 'password'\n        }),\n    }\n}\n```\n\n## Implemented Clients\nCorresponding DB packages need to be installed separately\n\n| client      | description                                                         |\n|-------------|---------------------------------------------------------------------|\n| MySQLClient | MySQL client. Works on top of https://www.npmjs.com/package/mysql2  |\n| PgClient    | PostgreSQL client. Works on top of https://www.npmjs.com/package/pg |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqavajs%2Fsteps-sql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqavajs%2Fsteps-sql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqavajs%2Fsteps-sql/lists"}