Query string for upcoming events

Options

Hi,

How can I write a query string structure for my endpoint path to get only upcoming events (i.e. not past events)? My database table in Xano has an 'event_date' column.

My frontend is Draftbit (in case that makes a difference).

Thanks,

Gavin

Tagged:

Best Answer

  • Pawel Magdanski
    Pawel Magdanski Member ✭✭✭
    Answer ✓
    Options

    Hi,

    Not sure if I get the question correctly.

    But in Xano query condition like this should do the trick:

    Just replace created at with your event_date (timestamp) and you will only get records that are happening in the future.

    If that is not what your question is about, please provide some more context :)

Answers