Commit 64a2877
committed
fix(adapters): fix wildcard [r] in refresh_schema, depth default, docstrings
- refresh_schema: build typed [r:T1|T2|...] pattern from rel_props keys
(CoordiNode wildcard [r] returns no results)
- get_rel_map: change default depth from 2 to 1 (depth != 1 now raises)
- _stable_document_id docstring: clarify only __Document__ node ID is
stable; MENTIONS edges are not deduplicated (unconditional CREATE)
- upsert_relations: add comment explaining WHERE NOT (pattern) returns 0
rows silently in CoordiNode, hence unconditional CREATE is used1 parent 19a3b34 commit 64a2877
2 files changed
Lines changed: 27 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
85 | 91 | | |
86 | 92 | | |
87 | 93 | | |
| |||
199 | 205 | | |
200 | 206 | | |
201 | 207 | | |
202 | | - | |
203 | | - | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
204 | 213 | | |
205 | 214 | | |
206 | 215 | | |
| |||
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
238 | 242 | | |
239 | 243 | | |
240 | | - | |
241 | | - | |
242 | 244 | | |
243 | 245 | | |
244 | 246 | | |
| |||
0 commit comments