{{ message }}
Repository navigation
Tags: andrewgrant/sqlite-data
Tags
User-defined collating sequences (pointfreeco#532) * User-defined collating sequences Adds support for StructuredQueries' custom collations. * Add `.canonical` collating sequence * wip * wip * wip * fix * wip
StructuredQueries 0.38 support (pointfreeco#540) StructuredQueries protocol requirement that we need to further weaken here. Fixes pointfreeco#539.
Bump to IssueReporting 2.0 (pointfreeco#491) * Bump to IssueReporting 2.0 * wip
Wrap `@Fetch*` state in SwiftUI's `@State` when possible (pointfreeco… …#504) * Add case studies for SwiftUI issue * @State fix * FetchBox * wip * New integration target * wip * fix * wip * cleanup * Add some prints to make it clear queries are not being executed. * wip --------- Co-authored-by: Brandon Williams <mbrandonw@hey.com>
Add `StrictDecoding` trait (pointfreeco#489) * Add `StrictDecoding` trait Adopts strict decoding introduced in StructuredQueries, ensuring that type mismatches are better caught. By default, decoding is lenient but will begin to emit runtime warnings so that developers can resolve existing issues in their code base. Once migrated, folks can enable the `StrictDecoding` trait for harder failure, and in a 2.0 major release strict decoding will likely be the default. * wip * Add `LazyInitializableByDefault` trait (pointfreeco#490) * Add `LazyInitializableByDefault` trait Makes it easier to turn on the StructuredQueries trait without an explicit dependency. * wip * link * use typed throws in SQLite query/function decoder (pointfreeco#516) * use typed throws in SQLite query/function decoder This prevents an allocation, particularly on type mismatch, improving performance for columns containing multiple data types. * Refactor date decoding logic in SQLiteFunctionDecoder * Fix date decoding logic in SQLiteQueryDecoder --------- Co-authored-by: Stephen Celis <stephen.celis@gmail.com> Co-authored-by: Stephen Celis <stephen@stephencelis.com> * fix * fix * wip * cleanup * Point to release * bump --------- Co-authored-by: Lukas <ahti333@googlemail.com>
Bump AppleOS platform floor (pointfreeco#517) * Bump platforms * wip --------- Co-authored-by: Stephen Celis <stephen@stephencelis.com>
Non-optional sectioning (pointfreeco#515) Our section builder was generalized beyond optional strings late in its design, leaving it in an incomplete state. Non-optional string sections produced by `Statement.fetchAll(sectionBy:)` were still optional when they didn't need to be. This PR closes the gap and improves a few edge cases around section builders and optionality, where nested branches with optionality could fail to compile.
Deliver latest record state in `ModifyRecordsCallback` test helper (p… …ointfreeco#510) * Deliver latest record state in ModifyRecordsCallback test helper * Remove the ReturnValue generic from ModifyRecordsCallback. It's not used anywhere. * Fetch all records at once instead of individually. --------- Co-authored-by: Brandon Williams <mbrandonw@hey.com>
Work around Swift parameter pack bug in `@FetchAll(sectionBy:)` (poin… …tfreeco#512) * Work around Swift parameter pack bug in `@FetchAll(sectionBy:)` Inline sectioned fetches don't currently work if the query includes a join due to a parameter pack bug. We can work around it in a way similar to workarounds present in StructuredQueries: overloads. - `Joins == ()` - `Joins: Table` - `Joins == (repeat each J)` * Organize * Clean up overloads * revert * Add `Statement.fetchAll(sectionBy:)` (pointfreeco#513) * Add `Statement.fetchAll(sectionBy:)` A parallel story to `@FetchAll(sectionBy:)` for use in `FetchKeyRequest`s. * wip * Key path overloads * Apply suggestion from @mbrandonw * Nest suites --------- Co-authored-by: Brandon Williams <135203+mbrandonw@users.noreply.github.com> Co-authored-by: Brandon Williams <mbrandonw@hey.com> --------- Co-authored-by: Brandon Williams <135203+mbrandonw@users.noreply.github.com> Co-authored-by: Brandon Williams <mbrandonw@hey.com>
Add hint to DependenciesTestSupport in test examples (pointfreeco#435) * Add hint to DependenciesTestSupport in test examples * Update Sources/SQLiteData/Documentation.docc/Articles/PreparingDatabase.md --------- Co-authored-by: Brandon Williams <135203+mbrandonw@users.noreply.github.com>
PreviousNext
