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/$%7Bart_info.art.src%7D?q=database&page=371&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"(2190ms)

tursomain.tsx1 match

@kora•Updated 9 months ago
3
4export let turso = createClient({
5 url: process.env.TURSO_DATABASE_URL,
6 authToken: process.env.TURSO_AUTH_TOKEN,
7});

VALLEREADME.md1 match

@tmcw•Updated 9 months ago
1# VALL-E
2
3LLM code generation for vals! Make apps with a frontend, backend, and database.
4
5It's a bit of work to get this running, but it's worth it.

sqliteExplorerAppREADME.md1 match

@nickgolden•Updated 9 months ago
30- [ ] add triggers to sidebar
31- [ ] add upload from SQL, CSV and JSON
32- [ ] add ability to connect to a non-val town Turso database
33- [x] fix wonky sidebar separator height problem (thanks to @stevekrouse)
34- [x] make result tables scrollable

processTrackBlobsJobREADME.md1 match

@dthyresson•Updated 9 months ago
1# processTracksBlobsJob
2
3Periodically fetch all Spotify tracks from Blob storage and update the `tracks` database with a subset of display information.
4
5Keys take the format: `spotify_track_id:4tVhBXOhSlqYCL2IjyoUNu`.

valleGetValsContextWindowmain.tsx1 match

@stevekrouse•Updated 9 months ago
105 {
106 name: "Use Val Town SQLite to store data",
107 prompt: "Write a val that uses an SQLite database",
108 code: `import { sqlite } from "https://esm.town/v/std/sqlite?v=4";
109

blobmain.tsx1 match

@janpaul123•Updated 9 months ago
8import { ValTownBlobNotFoundError } from "https://esm.town/v/std/ValTownBlobNotFoundError";
9
10// Initialize the database
11await sqlite.execute(`
12 CREATE TABLE IF NOT EXISTS blobs (

infiniteSVGGraphmain.tsx1 match

@maxm•Updated 9 months ago
33// }
34
35// Database querying.
36
37function parseResultSet<T>(row: ResultSet): T[] {

VALLEDRAWREADME.md1 match

@janpaul123•Updated 9 months ago
1# VALL-E-DRAW
2
3LLM code generation for vals, on a canvas! Make apps with a frontend, backend, and database.
4
5* First you need a working version of VALL-E. Follow the steps [here](https://www.val.town/v/janpaul123/VALLE).

sqliteExplorerAppREADME.md1 match

@yawnxyz•Updated 9 months ago
30- [ ] add triggers to sidebar
31- [ ] add upload from SQL, CSV and JSON
32- [ ] add ability to connect to a non-val town Turso database
33- [x] fix wonky sidebar separator height problem (thanks to @stevekrouse)
34- [x] make result tables scrollable

sqliteExplorerAppREADME.md1 match

@pom421•Updated 9 months ago
30- [ ] add triggers to sidebar
31- [ ] add upload from SQL, CSV and JSON
32- [ ] add ability to connect to a non-val town Turso database
33- [x] fix wonky sidebar separator height problem (thanks to @stevekrouse)
34- [x] make result tables scrollable

bookmarksDatabase

@s3thi•Updated 2 months ago

sqLiteDatabase1 file match

@ideofunk•Updated 5 months ago