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=374&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"(1010ms)

val_town_by_example_tocmain.tsx1 match

@pomdtr•Updated 10 months ago
38 todo("Inserting and Querying Data"),
39 todo("Running Migrations"),
40 todo("SQLite as a KV Database"),
41 todo("Drizzle in Val Town"),
42 ],

val_town_by_example_tocmain.tsx1 match

@iamseeley•Updated 10 months ago
38 todo("Inserting and Querying Data"),
39 todo("Running Migrations"),
40 todo("SQLite as a KV Database"),
41 todo("Drizzle in Val Town"),
42 ],

sqliteExplorerAppREADME.md1 match

@hlobil•Updated 10 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

@burcs•Updated 10 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

ownedGamesToSqliteREADME.md1 match

@alvi•Updated 10 months ago
3I wanted to log this data so I can analyse which days do I game the most ? which periods do I log the most hours in my confort game (Dead By Daylight) ? And so on. I think the data viz possibilities are super interesting, just like when Valve releases the "Steam in review" at the end of the year
4
5This val fetches your recent playtime history from valve's API and stores it in a database every day !
6
7The project uses multiple vals to work:

sqliteExplorerAppREADME.md1 match

@rchasman•Updated 10 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

libsqlstudiomain.tsx1 match

@iamseeley•Updated 10 months ago
3
4const app = createApp({
5 url: Deno.env.get("TURSO_DATABASE_URL")!,
6 authToken: Deno.env.get("TURSO_AUTH_TOKEN")!,
7});

sqliteExplorerAppREADME.md1 match

@vawogbemi•Updated 10 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

add_to_habitify_from_todoist_w_aimain.tsx6 matches

@nerdymomocat•Updated 10 months ago
7import { z } from "npm:zod";
8
9const force_update_database = false; // set force update database to true
10// if you added new items to habitify after running this script
11// for the first time.
390}
391
392async function get_habitify_database()
393{
394 const habits_list = await blob.getJSON("habitify_database");
395 if (!habits_list || force_update_database)
396 {
397 const HABITIFY_API_KEY = process.env.HABITIFY_API_KEY;
441 // Log the result JSON
442 console.log(JSON.stringify(habitsByArea, null, 2));
443 await blob.setJSON("habitify_database", habitsByArea);
444 return habitsByArea;
445 } catch (error) {
455
456export default async function(interval: Interval) {
457 const habits_list = await get_habitify_database();
458 var tasks = await todoistapi.getTasks({
459 projectId: add_to_habitify_todoist_project_id,

dateme_sqlitemain.tsx1 match

@vawogbemi•Updated 10 months ago
38}
39
40export async function setupDatabase() {
41 await createTable();
42 const docs = await fetchJSON(thisWebURL());

bookmarksDatabase

@s3thi•Updated 2 months ago

sqLiteDatabase1 file match

@ideofunk•Updated 5 months ago