Is there any possible mechanism by which we can configure XDCR filter expression with dynamic date range in couchbase?
example can be like configuring filter expression for replicating entities older than year. DATE_DIFF_STR(NOW_STR(), createdDate,"day") > 365
As per documentation it seems N1QL date functions are not supported https://docs.couchbase.com/server/current/xdcr-reference/xdcr-filtering-expressions.html says "N1QL date functions are not supported by XDCR Advanced Filtering. For information on N1QL date functions, see the N1QL page for Date Functions"
Please suggest if any alternative of N1QL date function can be used while configuring XDCR filter expression to filter entities based on interval of time between the current date and the date of creation field in the given document.