TypeDB 2 question
Sorry for the annoying v2 question, but this is our last release before upgrading. How do i print out the detail inside the map returned from an insert query?
Basically, at the moment we do this:
Unfortunately the logged
insert_iterator is not at all useful. How do we get more detail on this map? I have an error i cant track down, and its killing me
9 Replies
i think you can convert it to a list?
data = list(insert_iterator)
i've forgotten the 2.x API a bit give me a secnice, thanks, I am getting one object not installing,
still insert returns an iterator
and it just doesnt give a response
https://typedb.com/docs/drivers/2.x/python/api-reference#_QueryManager_insert_query_str_options_TypeDBOptions_None
if there's no response then check if the match part is returning anything itself first
ie just run it in studio or console or soething to validate
right, so it may be a mis-ordering, right, of course, good idea, let me check
ok good luck
im just going to bed!
thanks, it must be it realistically
cheers
that was the answer, hahahaha, i'm sorry for asking such a dumb question
amazing