Hi. I have this model: ``` type OHLCV @model { ...
# orm-help
i
Hi. I have this model:
Copy code
type OHLCV @model {
    id: ID! @unique
    marketBase: String!
    marketQuote: String!
    period: String!
    timestamp: DateTime!
    open: Float!
    high: Float!
    low: Float!
    close: Float!
    volume: Float
}
I am importing this data from an external API and I am having troubles with ID. I would like the timestamp to be the primary key and I don't want an ID because I always have a timestamp, only do time based queries on this data and I want to have an
upsertMany
where I can just throw many of these in a query and update all of them.