days

Applies NNN days modifier to a date/time value.

This function translates to the 'NNN days' modifier in SQLite's date and time functions. You can pass a negative integer to subtract days.

Example

// Add 7 days to the current date
select(DATE().now().days(7)).execute()

// Subtract 14 days from the current date
select(DATE().now().days(-14)).execute()

Return

A KQLiteColumn with the day modifier applied.

Author

MOHAMMAD AZIM ANSARI

Parameters

days

The number of days to add. A negative value subtracts days.

See also