{"repo":"groue/GRDBQuery","free":true,"listed":false,"github":"https://github.com/groue/GRDBQuery","clone":"git clone https://github.com/groue/GRDBQuery.git","description":"The SwiftUI companion for GRDB","language":"Swift","stars":312,"topics":["swiftui","database","grdb","sqlite","database-observation"],"license":"MIT","category":"databases-storage","readme_excerpt":"GRDBQuery Latest release : March 15, 2025 • version 0.11.0 • CHANGELOG Requirements : iOS 14.0+ / macOS 11+ / tvOS 14.0+ / watchOS 7.0+ &bull; Swift 6+ / Xcode 16+ 📖 [Documentation] --- GRDBQuery helps SwiftUI applications access a local SQLite database through [GRDB] and the SwiftUI environment. It comes in two flavors: - The @Query property wrapper allows SwiftUI views to directly read and observe the database: - The @EnvironmentStateObject property wrapper helps building ObservableObject models from the SwiftUI environment: Both techniques can be used in a single application, so that developers can run quick experiments, build versatile previews, and also apply strict patterns and conventions. Pick @Query , or @EnvironmentStateObject , depending on your needs! Documentation Learn how to use @Query and @EnvironmentStateObject in the [Documentation] . Check out the [GRDBQuery demo apps] , and the [GRDB demo apps] for various examples. Thanks 🙌 @Query was vastly inspired from Core Data and SwiftUI by @davedelong, with a critical improvement contributed by @steipete, and enhancements inspired by conversations with @stephencelis. Many thanks to all of you! [GRDB]: http://github.com/groue/GRDB.swift [GRDB demo apps]: https://github.com/groue/GRDB.swift/tree/master/Documentation/DemoApps [Documentation]: https://swiftpackageindex.com/groue/GRDBQuery/documentation [GRDBQuery demo apps]: Documentation","default_branch":null,"files":null,"tree":[],"storefront":"/r/groue","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/groue/GRDBQuery/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."}