Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » Sqlite3 int64 / wstring support patch
Sqlite3 int64 / wstring support patch [message #4141] Tue, 25 July 2006 10:25 Go to previous message
aroman is currently offline  aroman
Messages: 18
Registered: November 2005
Promising Member

Sqlite3 supports directly storing int64 values in the database. It also supports directly storing 16-bit strings. I would like to add support to UPP to handle that.

This involves patching the Value class to support int64's, along with adding the required methods in the sqlite3 value parsing. Also, it should be added to the schema.

Since Value already stores doubles, int64 does not increase size.

I also gently tweaked the storage format for time and date. The original stored time/date as:
'YYYY-MM-DD' or 'YYYY-MM-DD HH:MM:SS'
however the single quotes are not needed since the string is being bound and saved directly into the DB. (I think I messed up the order, though - please check that.)

While I was at it, I added support for "Limit(n)" to limit the number of rows returned by a query.

- Augusto

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Updated Sqlite3 plugin
Next Topic: Fields
Goto Forum:
  


Current Time: Wed May 29 04:13:11 CEST 2024

Total time taken to generate the page: 0.01271 seconds