How to use LTree with SQLModel #766
Unanswered
Lokeesh-27
asked this question in
Questions
Replies: 1 comment 1 reply
-
I have been very divided by using |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First Check
Commit to Help
Example Code
Description
⚙️ Challenge: The 'path' column in this model is intended to store hierarchical data, and I plan to use PostgreSQL's ltree data type for efficient querying. However, I'm uncertain about the correct data type to use in the SQLModel for the 'path' column that aligns with PostgreSQL's ltree.
📚 Reference: PostgreSQL ltree Documentation
🎯 Question:
Looking forward to insights and suggestions from the community!
Operating System
macOS
Operating System Details
No response
SQLModel Version
0.0.8
Python Version
3.10
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions