A Frege library providing functional JDBC utilities for database interaction with safe result fetching.
frege-dbc is a library designed to facilitate JDBC database operations within the Frege programming language, a Haskell-like language for the JVM. It offers a functional approach to handling database queries, making it easier for Frege developers to work with SQL databases while leveraging Frege's type safety and purity.
fetchRow function to retrieve rows from a JDBC ResultSet without throwing exceptions, returning results wrapped in Either for error handling.DriverManager, Connection, and Statement in a Frege-friendly manner.SqlValue type with instances for common SQL data types (e.g., SqlString, SqlInt, SqlLong), enabling structured representation of query results.The project emphasizes a functional and exception-safe approach to JDBC, allowing Frege programmers to integrate database operations seamlessly while maintaining the language's purity and type discipline.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.