stephencelis / SQLite.swift

A type-safe, Swift-language layer over SQLite3.
MIT License
9.59k stars 1.55k forks source link

Best way to calculate average time_stamp from column #1055

Closed 08kovalchuk03 closed 2 years ago

08kovalchuk03 commented 2 years ago

I have a column, where I store time_stamp, and I need to calculate average time_stamp If represent time_stamp as integer value it is just (date1 + date2) / 2, but I can't find a way to do this with this library

nathanfallet commented 2 years ago

Please ask on StackOverflow for this kind of questions (we are tracking bugs on GitHub)