-
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
WalkthroughReplaces the single legacy PHP docs page with a PHP sub-index and four driver-specific pages (AMPHP, PDO_PGSQL, Crate PDO wrapper, Crate DBAL); updates driver listing and example badge anchors to point to the new PHP subpage/anchor and removes the old Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant Dev as Developer (reads docs)
participant Docs as Documentation site
participant AMPHP as Amp\Postgres (async example)
participant PDOpg as PDO_PGSQL (sync example)
participant PDOC as Crate\PDO\PDOCrateDB (sync example)
participant DB as CrateDB
rect rgb(245,250,255)
note right of Dev: New PHP sub-index exposes driver-specific flows
end
Dev->>Docs: open PHP sub-index
Docs-->>Dev: links to AMPHP, PDO_PGSQL, Crate PDO, Crate DBAL
par AMPHP (async)
Dev->>AMPHP: follow example (create pool, prepare, execute)
AMPHP->>DB: async query
DB-->>AMPHP: rows / error
AMP HP-->>Dev: await results (doc example)
and PDO_PGSQL (sync)
Dev->>PDOpg: follow example (new PDO, query, fetch)
PDOpg->>DB: query
DB-->>PDOpg: rows / error
PDOpg-->>Dev: fetch results
and Crate PDO wrapper (sync)
Dev->>PDOC: follow example (PDOCrateDB, query, fetch)
PDOC->>DB: query
DB-->>PDOC: rows / error
PDOC-->>Dev: fetch results
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Potential focus areas:
Possibly related PRs
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 (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
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