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=347&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 3865 results for "database"(959ms)

sqliteExplorerAppREADME.md1 match

@maxwell•Updated 3 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

postgresExamplemain.tsx5 matches

@stevekrouse•Updated 3 months ago
1import { Pool } from "https://deno.land/x/postgres@v0.17.0/mod.ts";
2
3// Get the connection string from the environment variable "DATABASE_URL"
4const databaseUrl = Deno.env.get("DATABASE_URL")!;
5
6// Create a database pool with three connections that are lazily established
7const pool = new Pool(databaseUrl, 3, true);
8
9// Connect to the database
10const connection = await pool.connect();
11

sqlitemain.tsx2 matches

@tmcw•Updated 3 months ago
5/**
6 * Every Val Town account comes with its own private
7 * [SQLite database](https://www.sqlite.org/) that
8 * is accessible from any of your vals.
9 * ([Docs ↗](https://docs.val.town/std/sqlite))
115
116// adapted from
117// https://github.com/tursodatabase/libsql-client-ts/blob/17dd996b840c950dd22b871adfe4ba0eb4a5ead3/packages/libsql-client/src/sqlite3.ts#L314C1-L337C2
118function rowFromSql(
119 sqlRow: Array<unknown>,

getDuckDBREADME.md2 matches

@maxm•Updated 3 months ago
1# Get a DuckDB database
2
3This method sets up a [duckdb-wasm](https://github.com/duckdb/duckdb-wasm) database that you can then use to store and retrieve data.

uptimeREADME.md1 match

@ktstone•Updated 3 months ago
1# Uptime Checker & Status Page
2
3This is a free, hackable uptime/downtime monitor that sends you an email when the site doesn't return a 200. It also stores historical uptime and latency data in your Val Town SQLite, which is used to power a status page. It supports multiple URLs in the same database and status page.
4
5## Installation

usefulGreenPenguinmain.tsx1 match

@erhardik•Updated 3 months ago
65 const { sqlite } = await import("https://esm.town/v/stevekrouse/sqlite");
66 const KEY = "usefulGreenPenguin";
67 const SCHEMA_VERSION = 4; // Increment to reset database
68
69 // Create necessary tables

sqlitemain.tsx2 matches

@partlysunny•Updated 3 months ago
5/**
6 * Every Val Town account comes with its own private
7 * [SQLite database](https://www.sqlite.org/) that
8 * is accessible from any of your vals.
9 * ([Docs ↗](https://docs.val.town/std/sqlite))
115
116// adapted from
117// https://github.com/tursodatabase/libsql-client-ts/blob/17dd996b840c950dd22b871adfe4ba0eb4a5ead3/packages/libsql-client/src/sqlite3.ts#L314C1-L337C2
118function rowFromSql(
119 sqlRow: Array<unknown>,

sqliteExplorerAppREADME.md1 match

@danyx23•Updated 4 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

@serdans•Updated 4 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

notion2wallabagREADME.md1 match

@stevekrouse•Updated 4 months ago
1# Notion2Wallabag
2
3Intended to be run with Notion's webhooks. When fired, tries to save a Notion database item with a "Link" property to a Wallabag instance.
4
5Cannot be re-used for other workspaces, since it requires various Wallabag secrets and a Notion-specific token. Feel free to fork!

bookmarksDatabase

@s3thi•Updated 2 months ago

sqLiteDatabase1 file match

@ideofunk•Updated 5 months ago