Merge branch 'master' of git://factorcode.org/git/factor into clean-linux-x86-32
commit
1fbad5cee3
|
@ -279,7 +279,7 @@ ARTICLE: "db-custom-database-combinators" "Custom database combinators"
|
||||||
|
|
||||||
"SQLite example combinator:"
|
"SQLite example combinator:"
|
||||||
{ $code <"
|
{ $code <"
|
||||||
USING: db.sqlite db io.files ;
|
USING: db.sqlite db io.files io.files.temp ;
|
||||||
: with-sqlite-db ( quot -- )
|
: with-sqlite-db ( quot -- )
|
||||||
"my-database.db" temp-file <sqlite-db> swap with-db ; inline"> }
|
"my-database.db" temp-file <sqlite-db> swap with-db ; inline"> }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue