Accessing SQLRelation #1834
mwildehahn
started this conversation in
General
Replies: 1 comment
-
|
Hello @mwildehahn, The inner representation is indeed private. It is not directly exposed, so that it can evolve freely and allow the library to bring new features without breaking the public api. So you won't be able to inspect all the attributes. But maybe there are specific questions you'd like to be able to answer about a given request. Maybe this can be done with a public API that does not expose the inner implementation. You need to express the kind of information you'd like to have. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working on a swift version of this: https://tanstack.com/blog/tanstack-db-0.5-query-driven-sync backed by GRDB and one thing I'm curious about is if it's possible to get access to SQLRelation which would let me inspect all the attributes of an ORM query. From what I can see, this is an internal property which makes sense, but I'm curious if there is something I missed or a desire to allow some hook into it for inspection.
Beta Was this translation helpful? Give feedback.
All reactions