ltree Questions
3
Solved
Using django 1.8 + Postgres 9+, I have models with custom PG datatypes (like ltree). Creating de database from zero fail because
CREATE EXTENSION ltree;
is not executed. I try with a empty migr...
Brigittebriley asked 16/9, 2015 at 21:29
2
I have this materialized path tree structure built using PostgreSQL's ltree module.
id1
id1.id2
id1.id2.id3
id1.id2.id5
id1.id2.id3.id4 ... etc
I can of course easily use ltree to get all n...
Chantalchantalle asked 18/11, 2014 at 13:17
1
Solved
Materialized Path is a method for representing hierarchy in SQL. Each node contains the path itself and all its ancestors (grandparent/parent/self).
The django-treebeard implementation of MP (docs)...
Slack asked 2/12, 2019 at 3:42
5
As the title suggests, I'm having a hard time, guessing how I can efficiently update a value in multiple rows. The column is implemented with the data-type ltree. So, there should be some form of s...
Saponin asked 1/2, 2015 at 5:30
2
I have 3 tables:
LOCATION, LOCATION DESCRIPTION which holds languages for each location etc and 1 for STORE.
LOCATION DESCRIPTION table also holds the hierarchy in an ltree path field like below:...
Wira asked 25/7, 2014 at 11:20
1
Solved
As you may know there's a module for PostgreSQL called ltree. Also you have the possibility to use the Array type for integers (*1, see comment below), which in this test shows to actually perform ...
Ricotta asked 18/9, 2014 at 12:19
2
Solved
I have a table with an ltree path column. In my hierarchy the path to a label is unique, meaning that every label has exactly one parent label. In other words, there are no two ltree paths in the t...
Gilroy asked 26/11, 2014 at 10:32
1
© 2022 - 2024 — McMap. All rights reserved.