{"repo":"vrischmann/zig-sqlite","free":true,"listed":false,"github":"https://github.com/vrischmann/zig-sqlite","clone":"git clone https://github.com/vrischmann/zig-sqlite.git","description":"zig-sqlite is a small wrapper around sqlite's C API, making it easier to use with Zig.","language":"C","stars":617,"topics":["zig","sqlite","zig-package"],"license":"MIT","category":"databases-storage","readme_excerpt":"zig-sqlite This package is a thin wrapper around sqlite's C API. Maintainer note : I'm currently on a break working with Zig and don't intend to work on new features for zig-sqlite. I will keep it updated for the latest Zig versions because that doesn't take too much of my time. Status While the core functionality works right now, the API is still subject to changes. If you use this library, expect to have to make changes when you update the code. Zig release support zig-sqlite follows Zig's release structure: - master tracks Zig master - zig-0.15.1 tracks Zig 0.15.1 The plan is to support releases once Zig 1.0 is released but this can still change. Table of contents - zig-sqlite - Status - Zig release support - Table of contents - Requirements - Features - Installation - Usage - Demo - Initialization - Preparing a statement - Common use - Diagnostics - Executing a statement - Reuse a statement - Reading data in one go - Type parameter - Statement.one - Statement.all and Statement.oneAlloc - Iterating - Iterator.next - Iterator.nextAlloc - Bind parameters and resultset rows - Custom type binding and reading - Note about complex allocations - Comptime checks - Check the number of bind parameters. - Assign types to bind markers and check them. - User defined SQL functions - Scalar functions - Aggregate functions Requirements Zig master is the only required dependency. For sqlite, you have options depending on your target: On Windows the only supported way at the moment to build","default_branch":null,"files":null,"tree":[],"storefront":"/r/vrischmann","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vrischmann/zig-sqlite/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."}