Settings

Theme

Unexpected SQLite with Swift

medium.com

1 points by groue 9 years ago · 5 comments

Reader

gigatexal 9 years ago

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.

  • groueOP 9 years ago

    > 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.

  • groueOP 9 years ago

    I didn't know about windowing function. This page looks like a nice description: https://community.modeanalytics.com/sql/tutorial/sql-window-...

    • gigatexal 9 years ago

      yeah that site is really good for a lot of things. Windowing functions help you write less procedural SQL -- I'm a huge fan.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection