Replies: 1 comment
-
I found a workaround for my issue. I added rollup fields to the Deals database, these rollup fields are showing the Client fields. Not sure what are the disadvantages of this approach, but it's working fine |
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.
-
Hi!
I have a list of ids (standard ids that are generated when a record is inserted). I need to query or retrieve the records using this list of ids.
As far as I understand, the method
notion.pages.retrieve(page_id=page_id)
accepts only 1 id. I can put the retrieve method in a loop and retrieve each record separately, but I would like to avoid that approach.I was not able to query records using filters and
self.notion.databases.query()
with the ids. For some reason, I could make it work only with my custom properties, but not with the standard id.Just to provide more details, maybe there is another approach.
I have 2 databases:
First, I query deals using my custom property "Order Id". Then, I take the ids of the clients from the query result (I don't see any custom properties in the query result, only the id). Now I need to get clients using the collected ids and this is where I'm stuck.
Beta Was this translation helpful? Give feedback.
All reactions