factor/extra/db2/sqlite/sqlite.factor

13 lines
363 B
Factor
Raw Normal View History

2009-04-11 14:44:06 -04:00
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
2009-04-11 21:21:04 -04:00
USING: constructors db2.connections ;
2009-04-11 14:44:06 -04:00
IN: db2.sqlite
2009-04-11 21:21:04 -04:00
TUPLE: sqlite-db path ;
CONSTRUCTOR: sqlite-db ( path -- sqlite-db ) ;
TUPLE: sqlite-db-connection < db-connection ;
: <sqlite-db-connection> ( handle -- db-connection )
sqlite-db-connection new-db-connection ;