SQLite 3.15 Adds Row Value Support
Monday, 24 October 2016

SQLite 3.15 is now available with support for row values, support for deterministic SQL functions in the WHERE clause of a partial index and the ability to VACUUM an attached database.

SQLite is an embeddable SQL database library. It is arguably the world’s most widely used database, mainly due to its use as the database engine in memory constrained gadgets such as cellphones, PDAs, and MP3 players.

It’s an in-process library that implements a self-contained, serverless, transactional SQL database engine. It doesn’t have a separate server process, and it reads and writes directly to ordinary files. The entire SQL database with multiple tables, indexes, triggers, and views, is contained in a single disk file. The developers say that you should think of SQLite:

"not as a replacement for Oracle but as a replacement for fopen()"

The other main advantage of SQLite is its compact size. With all features enabled, the library size can be less than 500KB.

The latest version, SQLite 3.15.0 is now available. The main change for the new version is support for row values. A row value is an ordered list of two or more scalar values, so is another way of defining a vector.

Examples of the things you might do with row values include scrolling window queries where you want to show a limited number of items in a scrolling display; searches on multi-column keys; or updating of multiple columns in a table based on a query. There's a good description of various different uses on the SQLite site. 

Another improvement in the new version is support for deterministic SQL functions in the WHERE clause of a partial index. SQL deterministic functions always gives the same answer when given the same inputs; non-deterministic functions include those that depend on previous actions such as LastRowID, or Changes. 

The new release also adds the ability to VACUUM an attached database. The VACUUM command rebuilds the database file, repacking it into a minimal amount of disk space.

sqlite

More Information

SQLite 3.15 Release Log

VSQLite Version 3.15.0

Related Articles

Portable Version Of DB Browser For SQLite

SQLite 3.9 

SQLite Updated

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter,subscribe to the RSS feed and follow us on, Twitter, FacebookGoogle+ or Linkedin

 

Banner


Quantum Computers Really Are A One Trick Pony
17/03/2024

Google is offering $5 million if you can think up a use for a quantum computer. Wait, I thought quantum computers were the next big thing, a revolution! Surely we know what they can do?



SnapCode: A Java IDE for the Web
27/02/2024

Thanks to CheerpJ and WebAssembly you can now run a Java IDE inside your browser and local first.This is SnapCode, and while lightweight and in-browser, is to be not underestimated.


More News

 

raspberry pi books

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Sunday, 23 October 2016 )