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=373&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 3920 results for "database"(1712ms)

featureflagsREADME.md1 match

@samwho•Updated 9 months ago
34# How it works
35
36This val works by hashing the `userId` and using the resulting value to determine whether a flag should be enabled or disabled. In a 50% rollout, for example, the numeric hash of the `userId` is taken and divided by the maximum hash value. If the result is less than the rollout percentage, the flag is enabled. This allows for completely stateless feature flags, no database required.
37
38To prevent the same users getting features first all of the time, the flag name is prepended to the `userId` before hashing.

myTablemain.tsx1 match

@hello_mikkie•Updated 9 months ago
6 tableName: "tblRJj6ty16uR9QhC",
7});
8// Sample data from: https://blog.airtable.com/database-vs-spreadsheet/
9const results = await airtable.select();
10console.log(results);

blobWithSqlitemain.tsx1 match

@yawnxyz•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 (

sqliteAdminREADME.md1 match

@kamalnrf•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

deadBlackTurkeyREADME.md1 match

@oijoijcoiejoijce•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).

VALLEDRAWREADME.md1 match

@oijoijcoiejoijce•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).

VALLEREADME.md1 match

@oijoijcoiejoijce•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.

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

bookmarksDatabase

@s3thi•Updated 2 months ago

sqLiteDatabase1 file match

@ideofunk•Updated 5 months ago