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/?q=database&page=1&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 2773 results for "database"(271ms)

No matches found in users.

Try switching to another result type using the tabs above.

pondiverseaddCreation2 matches

@iliazeus•Updated 1 hour 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, CURRENT_TIMESTAMP)`,

JimeluStevensgetWeather.ts1 match

@luke_f•Updated 4 hours ago
126 }
127
128 console.log(`Weather forecast updated in the database.`);
129 return summary;
130}