Skip to content

Commit a2bfdc6

Browse files
committed
chores: cleanups
- fixed documnentation link to extension - fixed broken link in documentation
1 parent 2f23992 commit a2bfdc6

File tree

2 files changed

+40
-23
lines changed

2 files changed

+40
-23
lines changed

‎Dockerfile‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ RUN apk update && apk add --no-cache \
1414
mariadb-dev \
1515
postgresql-dev \
1616
sqlite-dev \
17-
libpq \
1817
curl \
1918
build-base \
2019
autoconf \

‎documentation/components/libs/postgresql.md‎

Lines changed: 40 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ execute it with the Client, and map results to objects.
3838

3939
This library has two optional PHP extensions depending on which features you use:
4040

41-
| Extension | Required for | Installation |
42-
|----------------|-------------------------------------------------------|-----------------------------------------------------------------------------------------|
43-
| `ext-pgsql` | Client (database connections, query execution) | Usually bundled with PHP, or `apt install php-pgsql` |
44-
| `ext-pg_query` | Query Builder, SQL Parser (AST parsing, manipulation) | [postgresql-ext documentation](/documentation/components/extensions/postgresql-ext.md) |
41+
| Extension | Required for | Installation |
42+
|----------------|-------------------------------------------------------|--------------------------------------------------------------------------------------|
43+
| `ext-pgsql` | Client (database connections, query execution) | Usually bundled with PHP, or `apt install php-pgsql` |
44+
| `ext-pg_query` | Query Builder, SQL Parser (AST parsing, manipulation) | [postgresql-ext documentation](/documentation/components/extensions/pg-query-ext.md) |
4545

4646
Both extensions are optional - you can use the Client without installing `ext-pg_query`, and vice versa.
4747

@@ -227,33 +227,47 @@ echo $query->toSQL();
227227

228228
**Data Queries (DML)**
229229

230-
- [Select Query Builder](/documentation/components/libs/postgresql/select-query-builder.md) - SELECT with JOINs, CTEs, window functions, subqueries
231-
- [Insert Query Builder](/documentation/components/libs/postgresql/insert-query-builder.md) - INSERT with ON CONFLICT (upsert), RETURNING
232-
- [Update Query Builder](/documentation/components/libs/postgresql/update-query-builder.md) - UPDATE with FROM clause, RETURNING
233-
- [Delete Query Builder](/documentation/components/libs/postgresql/delete-query-builder.md) - DELETE with USING clause, RETURNING
230+
- [Select Query Builder](/documentation/components/libs/postgresql/select-query-builder.md) - SELECT with JOINs, CTEs,
231+
window functions, subqueries
232+
- [Insert Query Builder](/documentation/components/libs/postgresql/insert-query-builder.md) - INSERT with ON CONFLICT (
233+
upsert), RETURNING
234+
- [Update Query Builder](/documentation/components/libs/postgresql/update-query-builder.md) - UPDATE with FROM clause,
235+
RETURNING
236+
- [Delete Query Builder](/documentation/components/libs/postgresql/delete-query-builder.md) - DELETE with USING clause,
237+
RETURNING
234238
- [Merge Query Builder](/documentation/components/libs/postgresql/merge-query-builder.md) - MERGE (SQL:2008 upsert)
235239

236240
**Schema Management (DDL)**
237241

238242
- [Table Query Builder](/documentation/components/libs/postgresql/table-query-builder.md) - CREATE/ALTER/DROP TABLE
239243
- [Index Query Builder](/documentation/components/libs/postgresql/index-query-builder.md) - CREATE/DROP INDEX
240-
- [View Query Builder](/documentation/components/libs/postgresql/view-query-builder.md) - CREATE/DROP VIEW, materialized views
241-
- [Sequence Query Builder](/documentation/components/libs/postgresql/sequence-query-builder.md) - CREATE/ALTER/DROP SEQUENCE
244+
- [View Query Builder](/documentation/components/libs/postgresql/view-query-builder.md) - CREATE/DROP VIEW, materialized
245+
views
246+
- [Sequence Query Builder](/documentation/components/libs/postgresql/sequence-query-builder.md) - CREATE/ALTER/DROP
247+
SEQUENCE
242248
- [Schema Query Builder](/documentation/components/libs/postgresql/schema-query-builder.md) - CREATE/DROP SCHEMA
243249

244250
**Database Administration**
245251

246-
- [Transaction Query Builder](/documentation/components/libs/postgresql/transaction-query-builder.md) - BEGIN, COMMIT, ROLLBACK, SAVEPOINT
247-
- [Role & Grant Query Builder](/documentation/components/libs/postgresql/role-grant-query-builder.md) - CREATE/ALTER ROLE, GRANT/REVOKE
248-
- [Utility Query Builder](/documentation/components/libs/postgresql/utility-query-builder.md) - VACUUM, ANALYZE, EXPLAIN, LOCK, CLUSTER
252+
- [Transaction Query Builder](/documentation/components/libs/postgresql/transaction-query-builder.md) - BEGIN, COMMIT,
253+
ROLLBACK, SAVEPOINT
254+
- [Role & Grant Query Builder](/documentation/components/libs/postgresql/role-grant-query-builder.md) - CREATE/ALTER
255+
ROLE, GRANT/REVOKE
256+
- [Utility Query Builder](/documentation/components/libs/postgresql/utility-query-builder.md) - VACUUM, ANALYZE,
257+
EXPLAIN, LOCK, CLUSTER
249258

250259
**Extensions & Types**
251260

252-
- [Copy Query Builder](/documentation/components/libs/postgresql/copy-query-builder.md) - COPY for bulk data import/export
253-
- [Trigger & Rule Query Builder](/documentation/components/libs/postgresql/trigger-rule-query-builder.md) - CREATE/DROP TRIGGER, RULE
254-
- [Function & Procedure Query Builder](/documentation/components/libs/postgresql/function-procedure-query-builder.md) - CREATE/DROP FUNCTION, PROCEDURE
255-
- [Extension Query Builder](/documentation/components/libs/postgresql/extension-query-builder.md) - CREATE/DROP EXTENSION
256-
- [Type Query Builder](/documentation/components/libs/postgresql/type-query-builder.md) - CREATE/DROP TYPE (enum, composite, range)
261+
- [Copy Query Builder](/documentation/components/libs/postgresql/copy-query-builder.md) - COPY for bulk data
262+
import/export
263+
- [Trigger & Rule Query Builder](/documentation/components/libs/postgresql/trigger-rule-query-builder.md) - CREATE/DROP
264+
TRIGGER, RULE
265+
- [Function & Procedure Query Builder](/documentation/components/libs/postgresql/function-procedure-query-builder.md) -
266+
CREATE/DROP FUNCTION, PROCEDURE
267+
- [Extension Query Builder](/documentation/components/libs/postgresql/extension-query-builder.md) - CREATE/DROP
268+
EXTENSION
269+
- [Type Query Builder](/documentation/components/libs/postgresql/type-query-builder.md) - CREATE/DROP TYPE (enum,
270+
composite, range)
257271
- [Domain Query Builder](/documentation/components/libs/postgresql/domain-query-builder.md) - CREATE/DROP DOMAIN
258272

259273
---
@@ -293,11 +307,15 @@ $client->close();
293307

294308
### Detailed Documentation
295309

296-
- [Connection](/documentation/components/libs/postgresql/client-connection.md) - Connection parameters, DSN parsing, lifecycle
310+
- [Connection](/documentation/components/libs/postgresql/client-connection.md) - Connection parameters, DSN parsing,
311+
lifecycle
297312
- [Fetching Data](/documentation/components/libs/postgresql/client-fetching.md) - fetch, fetchOne, fetchAll, fetchScalar
298-
- [Object Mapping](/documentation/components/libs/postgresql/client-object-mapping.md) - Map rows to objects with RowMapper
299-
- [Cursors](/documentation/components/libs/postgresql/client-cursor.md) - Memory-efficient streaming for large result sets
300-
- [Transactions](/documentation/components/libs/postgresql/client-transactions.md) - Transaction callback pattern, nesting
313+
- [Object Mapping](/documentation/components/libs/postgresql/client-object-mapping.md) - Map rows to objects with
314+
RowMapper
315+
- [Cursors](/documentation/components/libs/postgresql/client-cursor.md) - Memory-efficient streaming for large result
316+
sets
317+
- [Transactions](/documentation/components/libs/postgresql/client-transactions.md) - Transaction callback pattern,
318+
nesting
301319
- [Type System](/documentation/components/libs/postgresql/client-types.md) - Value converters, TypedValue, custom types
302320

303321
---

0 commit comments

Comments
 (0)