Skip to content

Commit 96e6717

Browse files
authored
fix(postgres-lambda): readme (#1197)
1 parent c579f1b commit 96e6717

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

typescript/postgres-lambda/README.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ graph TD
2323
L3[Lambda Function\nPostgresSetup]
2424
end
2525
end
26-
27-
L1 -->|"1. Connect and Query"| DB
28-
DB -->|"2. Invoke via aws_lambda extension"| L2
29-
L2 -->|"3. Return Result"| DB
30-
L3 -->|"4. Setup Extensions & Functions"| DB
31-
26+
27+
L1 -->|"1 Connect and Query"| DB
28+
DB -->|"2 Invoke via aws_lambda extension"| L2
29+
L2 -->|"3 Return Result"| DB
30+
L3 -->|"4 Setup Extensions & Functions"| DB
31+
3232
SM[AWS Secrets Manager] -->|Provide Credentials| L1
3333
SM -->|Provide Credentials| L3
34-
34+
3535
style DB fill:#E3F2FD,stroke:#1976D2,stroke-width:2px,color:#000
3636
style L1 fill:#FFF3E0,stroke:#F57C00,stroke-width:2px,color:#000
3737
style L2 fill:#FFF3E0,stroke:#F57C00,stroke-width:2px,color:#000
@@ -138,7 +138,6 @@ SELECT validate_data('{"id": 789, "value": "valid data"}'::JSONB);
138138
│ ├── postgres-to-lambda/ # Lambda called by PostgreSQL
139139
│ └── postgres-setup/ # Lambda for automated setup
140140
├── test/ # Unit tests
141-
├── .yarn/ # Yarn 2+ configuration
142141
└── README.md # This file
143142
```
144143

@@ -148,10 +147,7 @@ This project uses Yarn Workspaces to manage multiple packages in a monorepo stru
148147

149148
```bash
150149
# List all workspaces
151-
yarn workspaces list
152-
153-
# Run a command in all workspaces
154-
yarn workspaces foreach -v -A run <command>
150+
yarn workspaces info
155151

156152
# Run a command in a specific workspace
157153
yarn workspace postgres-to-lambda run <command>

0 commit comments

Comments
 (0)