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/image-url.jpg?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 3894 results for "database"(587ms)

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

Towniethink.ts1 match

@std•Updated 21 hours ago
7export const thinkTool = tool({
8 description:
9 "Use the tool to think about something. It will not obtain new information or change the database, but just append the thought to the log. Use it when complex reasoning or some cache memory is needed.",
10 parameters: z.object({
11 thought: z.string().describe("A thought to think about."),

Towniesystem_prompt.txt2 matches

@std•Updated 21 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

bookmarksDatabase

@s3thi•Updated 2 months ago

sqLiteDatabase1 file match

@ideofunk•Updated 5 months ago