-
Notifications
You must be signed in to change notification settings - Fork 1
Driver: Improve section about PHP #404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
WalkthroughRemoves the previous single PHP docs page and replaces it with a PHP sub-index plus four new PHP driver pages; updates driver index link targets from Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant App as PHP App
participant AMPHP as Amp\Postgres
participant PDOpg as PDO_PGSQL
participant PDOC as Crate\PDO\PDOCrateDB
participant DB as CrateDB
rect rgb(250,250,255)
note right of App: Documentation surfaces three driver flows
end
alt AMPHP (async)
App->>AMPHP: create connection pool / prepare & execute
AMPHP->>DB: async query
DB-->>AMPHP: rows / error
AMPHP-->>App: await results
else PDO_PGSQL (sync)
App->>PDOpg: new PDO(dsn,...)
PDOpg->>DB: query
DB-->>PDOpg: rows / error
PDOpg-->>App: fetch results
else Crate PDO wrapper (sync)
App->>PDOC: new PDOCrateDB(dsn,...)
PDOC->>DB: query
DB-->>PDOC: rows / error
PDOC-->>App: fetch results
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (8)
💤 Files with no reviewable changes (1)
✅ Files skipped from review due to trivial changes (2)
🧰 Additional context used🪛 LanguageTooldocs/connect/php/crate-pdo.md[grammar] ~1-~1: Ensure spelling is correct (QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1) 🔇 Additional comments (5)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
9cff1f8 to
48e9f50
Compare
About
Preview
https://cratedb-guide--404.org.readthedocs.build/connect/php/
/cc @matriv, @seut