{"repo":"pointfreeco/swift-structured-queries","free":true,"listed":false,"github":"https://github.com/pointfreeco/swift-structured-queries","clone":"git clone https://github.com/pointfreeco/swift-structured-queries.git","description":"Truly type-safe SQL.","language":"Swift","stars":353,"topics":["macros","query-builder","sql","swift","type-safe","database"],"license":"MIT","category":"databases-storage","readme_excerpt":"StructuredQueries A library for building SQL in a safe, expressive, and composable manner. Learn more This library was motivated and designed over the course of many episodes on Point-Free, a video series exploring advanced programming topics in the Swift language, hosted by Brandon Williams and Stephen Celis. To support the continued development of this library, subscribe today. Overview StructuredQueries provides a suite of tools that empower you to write safe, expressive, composable SQL with Swift. By simply attaching macros to types that represent your database schema: You get instant access to a rich set of query building APIs, from simple: Swift SQL To complex: Swift SQL These APIs help you avoid runtime issues caused by typos and type errors, but they still embrace SQL for what it is. StructuredQueries is not an ORM or a new query language you have to learn: its APIs are designed to read closely to the SQL it generates, though they are often more succinct, and always safer. You are also never constrained by the query builder. You are free to introduce safe SQL strings at the granularity of your choice using the #sql macro. From small expressions: To entire statements: The library supports building everything from SELECT , INSERT , UPDATE , and DELETE statements, to type-safe outer joins and recursive common table expressions. To learn more about building SQL with StructuredQueries, check out the documentation. [!IMPORTANT] This library does not come with any database d","default_branch":null,"files":null,"tree":[],"storefront":"/r/pointfreeco","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pointfreeco/swift-structured-queries/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."}