diff options
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | rnd/racket/sqlite.rkt | 10 |
2 files changed, 13 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index 574cd5d..1123364 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +*.db +*.sqlite + # Created by https://www.toptal.com/developers/gitignore/api/macos,emacs # Edit at https://www.toptal.com/developers/gitignore?templates=macos,emacs 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 |