This commit is contained in:
Ingy döt Net 2013-10-27 22:24:23 +00:00
parent 6f050a029e
commit 776bba907c
3887 changed files with 59894 additions and 7280 deletions

View file

@ -0,0 +1,9 @@
#lang racket
(require db)
(define con (postgresql-connect #:user user #:database db #:password password))
(define pst (prepare pgc "UPDATE players
SET name = ?, score = ?, active = ?
WHERE jerseyNum = ?"))
(define bst (bind-prepared-statement pst '("Smith, Steve" 42 #t 99)))
(query-value con bst)