Skip to content

Commit ebd82d9

Browse files
vbilopavclaude
andcommitted
Fix multi-command examples and add .claude to gitignore
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 72a653e commit ebd82d9

3 files changed

Lines changed: 5 additions & 8 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,4 +409,5 @@ appsettings.Development.json
409409
dist/
410410

411411
.DS_Store
412-
**/.DS_Store
412+
**/.DS_Store
413+
.claude/projects

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ select id, status from orders where id = $1;
4949
That gives you `POST /api/process-order`:
5050

5151
```json
52-
{"validate": [{"found": 1}], "result2": 1, "confirm": [{"id": 42, "status": "processing"}]}
52+
{"validate": [1], "result2": 1, "confirm": [{"id": 42, "status": "processing"}]}
5353
```
5454

5555
And a generated TypeScript client with full type safety:
5656

5757
```typescript
5858
export async function processOrder(orderid: number) : Promise<{
59-
validate: { found: number }[],
59+
validate: number[],
6060
result2: number,
6161
confirm: { id: number, status: string }[]
6262
}> {
@@ -85,10 +85,6 @@ All sources share the same annotation system: `@authorize`, `@param`, `@cached`,
8585

8686
## Features
8787

88-
<p align="center">
89-
<img src="system-diagram.png?v=2" alt="NpgsqlRest System Diagram" width="280">
90-
</p>
91-
9288
- **Multi-command SQL scripts** — multiple statements in one file execute as a batch, returning named result sets
9389
- **TypeScript/JS code generation** and `.http` files — types flow from PostgreSQL to your frontend
9490
- **AOT-compiled native binaries** — zero dependencies, instant startup

plugins/NpgsqlRest.SqlFileSource/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ SELECT id, status FROM orders WHERE id = $1;
107107

108108
```json
109109
{
110-
"validate": [{"count": 1}],
110+
"validate": [1],
111111
"result2": 1,
112112
"confirm": [{"id": 42, "status": "processing"}]
113113
}

0 commit comments

Comments
 (0)