HXQ-0.9.0: src/withDB/Text/XML/HXQ/DBConnect.hs
{-------------------------------------------------------------------------------------
-
- HDBC driver. Currently, Sqlite3.
- Programmer: Leonidas Fegaras
- Email: fegaras@cse.uta.edu
- Web: http://lambda.uta.edu/
- Creation: 05/30/08, last update: 07/24/08
-
- Copyright (c) 2008 by Leonidas Fegaras, the University of Texas at Arlington. All rights reserved.
- This material is provided as is, with absolutely no warranty expressed or implied.
- Any use is at your own risk. Permission is hereby granted to use or copy this program
- for any purpose, provided the above notices are retained on all copies.
-
--------------------------------------------------------------------------------------}
module Text.XML.HXQ.DBConnect where
import Database.HDBC.Sqlite3
-- | Connect to the relational database in filepath using the HDBC Sqlite3 driver
connect :: FilePath -> IO Connection
connect filepath = connectSqlite3 filepath