groue / GRDB.swift

A toolkit for SQLite databases, with a focus on application development
MIT License
6.61k stars 677 forks source link

Fix error in CTE association documentation #1544

Closed JoeParker closed 1 month ago

JoeParker commented 2 months ago

This PR addresses a mistake in the code examples for creating Common Table Expression associations.

The example given won't compile; updating the assignment operator to an equality check corrects the snippet and matches the similar example further on in the doc.

Pull Request Checklist

groue commented 2 months ago

Thank you @JoeParker,

This sounds like a welcome fix :) I'll review your PR in a few days when I'm back in front of a computer. Please hold on.

groue commented 1 month ago

I'm late! Thank you for your contribution, @JoeParker!