{"repo":"JordanMarr/SqlHydra","free":true,"listed":false,"github":"https://github.com/JordanMarr/SqlHydra","clone":"git clone https://github.com/JordanMarr/SqlHydra.git","description":"SqlHydra is a suite of NuGet packages for working with databases in F# including code generation tools and query expressions.","language":"F#","stars":263,"topics":["fsharp","orm","typeprovider"],"license":"MIT","category":"databases-storage","readme_excerpt":"SqlHydra Type-safe SQL generation for F#. Generate types from your database, query with strongly-typed computation expressions. Supported Databases: SQL Server PostgreSQL SQLite Oracle MySQL --- Quick Start 1. Install the CLI tool locally: 2. Generate types from your database: The wizard will prompt you for connection string , output file , and namespace . 3. Install the query library: 4. Configure Query Context: SqlHydra.Cli now generates a DB‑specific QueryContextFactory for each generated database (perfect for DI injection). Use it to create a strongly‑typed query context: 5. Write your first query: Note: All query builders have both Task and Async variants: selectTask / selectAsync , insertTask / insertAsync , updateTask / updateAsync , deleteTask / deleteAsync . That's it! Your queries are now type-checked at compile time. --- What Gets Generated? SqlHydra.Cli reads your database schema and adds a generated file to your project that contains: - F# record types for each table (with Option types for nullable columns) - Table declarations for use in queries - QueryContextFactory with a static Create(connectionString: string) method. --- SqlHydra.Cli Reference Installation Local Install (recommended): Running the CLI - If no .toml config exists, a wizard will guide you through setup - If a .toml config exists, it regenerates code using that config - Generated .fs files are automatically added to your .fsproj as Visible=\"false\" Configuration Wizard The wizard prompts for: 1. ","default_branch":null,"files":null,"tree":[],"storefront":"/r/JordanMarr","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/JordanMarr/SqlHydra/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}