{"id":37196480,"url":"https://github.com/denyshuzovskyi/xk6-sql-driver-oracle","last_synced_at":"2026-01-14T22:51:23.093Z","repository":{"id":280309483,"uuid":"940528632","full_name":"denyshuzovskyi/xk6-sql-driver-oracle","owner":"denyshuzovskyi","description":"xk6-sql driver extension for Oracle database support","archived":false,"fork":false,"pushed_at":"2025-03-03T13:54:12.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T09:07:16.987Z","etag":null,"topics":["xk6","xk6-sql-driver"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/denyshuzovskyi.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":"2025-02-28T10:35:26.000Z","updated_at":"2025-03-04T07:58:17.000Z","dependencies_parsed_at":"2025-03-02T17:38:00.447Z","dependency_job_id":null,"html_url":"https://github.com/denyshuzovskyi/xk6-sql-driver-oracle","commit_stats":null,"previous_names":["denyshuzovskyi/xk6-sql-driver-oracle"],"tags_count":0,"template":false,"template_full_name":"grafana/xk6-sql-driver-ramsql","purl":"pkg:github/denyshuzovskyi/xk6-sql-driver-oracle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denyshuzovskyi%2Fxk6-sql-driver-oracle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denyshuzovskyi%2Fxk6-sql-driver-oracle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denyshuzovskyi%2Fxk6-sql-driver-oracle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denyshuzovskyi%2Fxk6-sql-driver-oracle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/denyshuzovskyi","download_url":"https://codeload.github.com/denyshuzovskyi/xk6-sql-driver-oracle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denyshuzovskyi%2Fxk6-sql-driver-oracle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28436979,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T22:37:52.437Z","status":"ssl_error","status_checked_at":"2026-01-14T22:37:31.496Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["xk6","xk6-sql-driver"],"created_at":"2026-01-14T22:51:22.248Z","updated_at":"2026-01-14T22:51:23.060Z","avatar_url":"https://github.com/denyshuzovskyi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xk6-sql-driver-oracle\n\nDatabase driver extension for [xk6-sql](https://github.com/grafana/xk6-sql) k6 extension to support Oracle database. \nUses [go-ora](https://github.com/sijms/go-ora).\n\n## Example\n\n```JavaScript file=examples/example.js\nimport sql from \"k6/x/sql\";\nimport driver from \"k6/x/sql/driver/oracle\";\n\nconst db = sql.open(driver, \"oracle://oracle:oracle@localhost:1521/FREEPDB1\");\n\nexport function setup() {\n    db.exec(`\n        CREATE TABLE roster\n        (\n            id          NUMBER GENERATED ALWAYS AS IDENTITY PRIMARY KEY,\n            given_name  VARCHAR2(255) NOT NULL,\n            family_name VARCHAR2(255) NOT NULL\n        )\n    `);\n}\n\nexport function teardown() {\n    db.exec(\"DROP TABLE roster PURGE\");\n    db.close();\n}\n\nexport default function () {\n    let inserted = 0;\n    const inserts = [\n        \"INSERT INTO roster (given_name, family_name) VALUES ('Peter', 'Pan')\",\n        \"INSERT INTO roster (given_name, family_name) VALUES ('Wendy', 'Darling')\",\n        \"INSERT INTO roster (given_name, family_name) VALUES ('Tinker', 'Bell')\",\n        \"INSERT INTO roster (given_name, family_name) VALUES ('James', 'Hook')\",\n    ];\n    for (const insertion of inserts) {\n        const result = db.exec(insertion);\n        inserted += result.rowsAffected();\n    }\n    console.log(`${inserted} rows inserted`);\n\n    let rows = db.query(\"SELECT * FROM roster WHERE given_name = :1\", \"Peter\");\n    for (const row of rows) {\n        console.log(`${row.FAMILY_NAME}, ${row.GIVEN_NAME}`);\n    }\n}\n```\n\n## Usage\nCheck the [xk6-sql documentation](https://github.com/grafana/xk6-sql) on how to use this database driver.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenyshuzovskyi%2Fxk6-sql-driver-oracle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenyshuzovskyi%2Fxk6-sql-driver-oracle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenyshuzovskyi%2Fxk6-sql-driver-oracle/lists"}