Val Town Code SearchReturn to Val Town

API Access

You can access search results via JSON API by adding format=json to your query:

https://codesearch.val.run/$%7Burl%7D?q=database&page=2&format=json

For typeahead suggestions, use the /typeahead endpoint:

https://codesearch.val.run/typeahead?q=database

Returns an array of strings in format "username" or "username/projectName"

Found 3893 results for "database"(612ms)

Airtable312 words

https://docs.val.town/integrations/airtable/
page as plain text. Open in ChatGPT Ask questions about this page. Airtable is a spreadsheet-database hybrid. Note that because Val Town uses Deno, we use an unofficial library to

Sections

Airtable

page as plain text. Open in ChatGPT Ask questions about this page. Airtable is a spreadsheet-database hybrid. Note that because Val Town uses Deno, we use an unofficial library to

Setup

= new Airtable({ apiKey: Deno.env.get("airtable_pat"), baseId: "appXSrKDlwbAijRmD", tableName: "All content", }); // Sample data from: https://blog.airtable.com/database-vs-spreadsheet/ const results = await airtable.select(); console.log(results); Make sure to change: apiKey if you have

Towniesystem_prompt.txt2 matches

@std•Updated 9 hours ago
192```
193├── backend/
194│ ├── database/
195│ │ ├── migrations.ts # Schema definitions
196│ │ ├── queries.ts # DB query functions
251 ```
252
253### Database Patterns
254- Run migrations on startup or comment out for performance
255- Change table names when modifying schemas rather than altering

pondiverseaddCreation2 matches

@argmn•Updated 10 hours ago
46 }
47
48 // Now it's time to upload things to database and blob storage
49 // First, add to database, and get the ID
50 const id = await sqlite.execute(
51 `INSERT INTO ${TABLE_NAME} (title, data, type, time) VALUES ($title, $data, $type, $time)`,

bookmarksDatabase

@s3thi•Updated 2 months ago

sqLiteDatabase1 file match

@ideofunk•Updated 5 months ago