Skip to content

Commit 61f497c

Browse files
chore: sync from CloudBase-MCP
1 parent 2fecf8a commit 61f497c

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎generated/skill-manifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"version": 2,
3-
"generatedAt": "2026-10-16T08:48:42.993Z",
3+
"generatedAt": "2026-10-16T12:19:18.817Z",
44
"skills": {
55
"ai-model-nodejs": {
66
"name": "ai-model-nodejs",

‎skills/cloud-storage-web/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Use instead:
118118
| `createSignedUrl(path, expiresIn)` | `await` → `{ data: { signedUrl } }` | `await` → `{ data: { fullSignedURL } }` |
119119
| `getPublicUrl(path)` | `await` → `{ data: { publicUrl } }` | **同步调用(不 await)** → `{ data: { publicUrl } }` |
120120

121-
Source: [webv3/storage.md](https://docs.cloudbase.net/api-reference/webv3/storage.md) · [webv3-pg/storage.md](https://docs.cloudbase.net/api-reference/webv3-pg/storage.md)(raw markdown)。
121+
Source: [webv3/classic/storage.md](https://docs.cloudbase.net/api-reference/webv3/classic/storage.md) · [webv3/storage.md](https://docs.cloudbase.net/api-reference/webv3/storage.md)(raw markdown)。
122122

123123
### PG mode URL resolution: 公开桶直链 vs 签名 URL
124124

‎skills/postgresql-development-cloudbase/SKILL.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ CloudBase PG (`app.rdb()`, `app.storage.from('bucket')`) uses **different API me
175175
- ❌ `db.from("public.public.articles")` — WRONG, double schema prefix, will fail with `PGRST205`
176176
- `objectName="public.articles"` in `queryPgDatabase()` is the MCP tool format — do NOT copy this into `db.from()`.
177177

178-
Use static imports and one shared `app.rdb()` client (SDK init reference: [webv3-pg/initialization.md](https://docs.cloudbase.net/api-reference/webv3-pg/initialization.md)):
178+
Use static imports and one shared `app.rdb()` client (SDK init reference: [webv3/initialization.md](https://docs.cloudbase.net/api-reference/webv3/initialization.md)):
179179

180180
```ts
181181
import cloudbase from "@cloudbase/js-sdk";
@@ -215,7 +215,7 @@ const { data } = await db.rpc("function_name", { id });
215215

216216
Common query helpers: `.eq()`, `.neq()`, `.gt()`, `.gte()`, `.lt()`, `.lte()`, `.like()`, `.ilike()`, `.in()`, `.is()`, `.contains()`, `.textSearch()`, `.or()`, `.not()`, `.match()`, `.order()`, `.limit()`, `.range()`, `.single()`.
217217

218-
**Full cookbook (official webv3-pg API — copy these, do not re-derive from .d.ts).** Source: [webv3-pg/postgresql/fetch.md](https://docs.cloudbase.net/api-reference/webv3-pg/postgresql/fetch.md) — fetch / insert / update / delete / upsert / filters / modifiers / rpc share the same path prefix, one page per verb(URL 加 `.md` 可取 raw markdown 原文):
218+
**Full cookbook (official webv3 API — copy these, do not re-derive from .d.ts).** Source: [webv3/postgresql/fetch.md](https://docs.cloudbase.net/api-reference/webv3/postgresql/fetch.md) — fetch / insert / update / delete / upsert / filters / modifiers / rpc share the same path prefix, one page per verb(URL 加 `.md` 可取 raw markdown 原文):
219219

220220
```ts
221221
// COUNT only — no rows returned, count comes back on the result object

0 commit comments

Comments
 (0)