Title: Connection::getCurrentSchema · Issue #7 · php-db/phpdb-sqlite · GitHub
Open Graph Title: Connection::getCurrentSchema · Issue #7 · php-db/phpdb-sqlite
X Title: Connection::getCurrentSchema · Issue #7 · php-db/phpdb-sqlite
Description: Package Version 0.0.1 Php Version 8.2 Database Engine SQLite Basic Information Connection::getCurrentSchema() is return typed for string|bool. The issue is that the body of the method was changed during migration. This method in laminas-...
Open Graph Description: Package Version 0.0.1 Php Version 8.2 Database Engine SQLite Basic Information Connection::getCurrentSchema() is return typed for string|bool. The issue is that the body of the method was changed d...
X Description: Package Version 0.0.1 Php Version 8.2 Database Engine SQLite Basic Information Connection::getCurrentSchema() is return typed for string|bool. The issue is that the body of the method was changed d...
Opengraph URL: https://github.com/php-db/phpdb-sqlite/issues/7
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Connection::getCurrentSchema","articleBody":"### Package Version\n\n0.0.1\n\n### Php Version\n\n8.2\n\n### Database Engine\n\nSQLite\n\n### Basic Information\n\nConnection::getCurrentSchema() is return typed for string|bool. The issue is that the body of the method was changed during migration. This method in laminas-db 2.2x simply returned 'main'. Somehow the method body was refactored so that it was running a PRAGMA query for database_list. The issue there is depending on how the connection is setup determines what if anything will be returned.\n\nI will be returning the return value to 'main' as testing indicates that will fix the issue for the time being. We can look into improving it in 0.0.2\n\nSee this line for reference:\nhttps://github.com/laminas/laminas-db/blob/c8c4c6a4d9b21764399d20fc157b4d1a21d0ce37/src/Adapter/Driver/Pdo/Connection.php#L114\n\n### Steps to Reproduce\n\nN/A\n\n### Expected Behavior\n\nN/A\n\n### Actual behavior?\n\nSee above\n\n### Additional Info\n\n_No response_","author":{"url":"https://github.com/tyrsson","@type":"Person","name":"tyrsson"},"datePublished":"2025-07-20T03:08:28Z","url":"https://github.com/php-db/phpdb-sqlite/issues/7"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:cbb5154d-7379-ce0f-6d1c-5ab2db2b0404 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DD62:1CAEF:11D03E:19E8EA:6AFD7237 |
| html-safe-nonce | 4709c65ffc68235ce5378dbbcc67fcae607f3469921e44c025c81edf191161e5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDYyOjFDQUVGOjExRDAzRToxOUU4RUE6NkFGRDcyMzciLCJ2aXNpdG9yX2lkIjoiMTYwNTE1OTY4ODQwMjIwMzE5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9c64dcc1429588a3db8cc8f80134db56a8fe82bf96075723cd700f03460d2575 |
| hovercard-subject-tag | issue:3245890734 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/php-db/phpdb-sqlite/7/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ba2268b97c0e926bc9df883564541cc49aa3c2a8e3f62d7f64d326cbf7d56f84/php-db/phpdb-sqlite/issues/7 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ba2268b97c0e926bc9df883564541cc49aa3c2a8e3f62d7f64d326cbf7d56f84/php-db/phpdb-sqlite/issues/7 |
| og:image:alt | Package Version 0.0.1 Php Version 8.2 Database Engine SQLite Basic Information Connection::getCurrentSchema() is return typed for string|bool. The issue is that the body of the method was changed d... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tyrsson |
| hostname | github.com |
| expected-hostname | github.com |
| None | e54006cf2b96d1ac260960edd10003132911469ccd1ec99c9803119fe2a4e032 |
| turbo-cache-control | no-preview |
| go-import | github.com/php-db/phpdb-sqlite git https://github.com/php-db/phpdb-sqlite.git |
| octolytics-dimension-user_id | 219474457 |
| octolytics-dimension-user_login | php-db |
| octolytics-dimension-repository_id | 946916064 |
| octolytics-dimension-repository_nwo | php-db/phpdb-sqlite |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 946916064 |
| octolytics-dimension-repository_network_root_nwo | php-db/phpdb-sqlite |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5be0bf2b8cf26f8897d31e6bc3c232d328b12a54 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width