#kanohian

1 messages · Page 1 of 1 (latest)

finite pebbleBOT
shell notch
#

hi there

old heron
#

Why don't you search it in your DB

shell notch
#

cause its a migration

#

need to export directly from stripe

#

in date range

#

with specified statuses

#

export it to excel/csv, then someone decides whose of them to migrate

#

runs a command and migrate these new subscriptions to otrher platform

#

kind of that

old heron
shell notch
#

I have not problem with this, but dont see how to chain multiple OR in query

#

stripe-php does that

old heron
#

How about retrieving entire subscriptions and filtering it in iteration

shell notch
#

its what I am doing, not the ideal though

#

looking for a better approach

lapis karma
#

You can't specify a list of statuses, its either one of them or you specify all then filter the results

#

So you might want to do that

shell notch
#

how is that docs say you can chain them through OR ?

#

You can combine multiple query clauses in a search by either separating them with a space, or using the AND or OR keywords (case insensitive). By default, the API combines clauses with AND logic. AND and OR operators are mutually exclusive.

lapis karma
#

status is a field for search for subscriptions

#

That's for search, not list, they are different

shell notch
#

oh I see