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=563&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 6046 results for "database"(1359ms)

trackESMContentmain.tsx3 matches

@maxm•Updated 4 months ago
15}
16
17async function initializeDatabase() {
18 await sqlite.execute(`
19 CREATE TABLE IF NOT EXISTS ${TABLE_NAME} (
27
28export default async function(interval: Interval) {
29 await initializeDatabase();
30
31 for (const url of URLS) {
65
66export async function getAllVersions() {
67 await initializeDatabase();
68 const versions = await sqlite.execute(`SELECT * FROM ${TABLE_NAME} ORDER BY timestamp DESC`);
69 console.log(versions, TABLE_NAME);

sqliteExplorerAppREADME.md1 match

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

sqlitemain.tsx2 matches

@stevekrouse•Updated 4 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))
118
119// adapted from
120// https://github.com/tursodatabase/libsql-client-ts/blob/17dd996b840c950dd22b871adfe4ba0eb4a5ead3/packages/libsql-client/src/sqlite3.ts#L314C1-L337C2
121function rowFromSql(
122 sqlRow: Array<unknown>,

sqliteExplorerAppREADME.md1 match

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

constantGrayRavenREADME.md1 match

@RareVibesAiDad•Updated 4 months ago
1Rarevibes is not responsible of any database loss

constantGrayRavenmain.tsx1 match

@RareVibesAiDad•Updated 4 months ago
9 const openai = new OpenAI();
10
11 // Comprehensive Data Science and Database Tool Categories
12 const dataScienceToolCategories = [
13 {

RareVibesBoostmain.tsx1 match

@RareVibesAiDad•Updated 4 months ago
9 const openai = new OpenAI();
10
11 // Comprehensive Data Science and Database Tool Categories
12 const dataScienceToolCategories = [
13 {

RareVibesBoostREADME.md1 match

@RareVibesAiDad•Updated 4 months ago
1Rarevibes is not responsible of any database loss

uptimeREADME.md1 match

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

AlwaysHere_migratedmain.tsx1 match

@varun1352•Updated 4 months ago
447
448 // Here you could implement additional logic like:
449 // - Saving conversation to a database
450 // - Sending conversation via email
451 // - Generating a summary

bookmarksDatabase

@s3thi•Updated 3 months ago

sqLiteDatabase1 file match

@ideofunk•Updated 6 months ago