about summary refs log tree commit diff stats
path: root/rnd
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2022-12-21 20:46:02 -0500
committerelioat <elioat@tilde.institute>2022-12-21 20:46:02 -0500
commit580ca9123411324abdc6e3fc260688172fec671f (patch)
tree24418185915348ecb42cae195f64de32bd328726 /rnd
parentbcd07bbdce48f65195780df3c94ec0db78708885 (diff)
downloaddecember-2022-580ca9123411324abdc6e3fc260688172fec671f.tar.gz
*
Diffstat (limited to 'rnd')
-rw-r--r--rnd/racket/sqlite.rkt10
1 files changed, 10 insertions, 0 deletions
diff --git a/rnd/racket/sqlite.rkt b/rnd/racket/sqlite.rkt
new file mode 100644
index 0000000..bbba395
--- /dev/null
+++ b/rnd/racket/sqlite.rkt
@@ -0,0 +1,10 @@
+#lang racket
+
+(require db)
+
+(sqlite3-connect #:database "playground.db"
+                 #:mode 'create)
+
+(if (sqlite3-available?)
+    (display "do stuff") ;; if you've connected, do a thing
+    (displayln "borked"))
\ No newline at end of file