Hacker News new | ask | show | jobs
Unexpected SQLite with Swift (medium.com)
1 points by groue 3337 days ago
1 comments

I'll have to give it another look but the killer missing feature for me is windowing functions. They don't exist in SQLite when I looked at it last (within the last 6 months or so).

The callbacks on datachange are nice. They sound similar to change data capture in SQLServer.

> They sound similar to change data capture in SQLServer.

Yes. There is a difference, though: SQLite is embedded, and there is zero latency between an application and its database.

This means that change notifications can be emitted synchronously right after a committed transaction, allowing the application to process the change before any other change could be performed.

This makes it much easier to get a very robust solution for a whole class of database synchronization problems.

Hmm, i had no idea it was that powerful/feature rich.
I didn't know about windowing function. This page looks like a nice description: https://community.modeanalytics.com/sql/tutorial/sql-window-...
yeah that site is really good for a lot of things. Windowing functions help you write less procedural SQL -- I'm a huge fan.