Commit 62c1b185 authored by mloskot's avatar mloskot

Updated ideas.txt file.

parent 22aec05b
This file contains a raw bunch of ideas for future releases. This file contains a raw bunch of ideas for future releases.
Not all of these ideas will necessarily make sense - they are here to get them together. Not all of these ideas will necessarily make sense - they are here to get them together.
---
Source of many concepts
http://lists.boost.org/Archives/boost/2006/12/113961.php
--- ---
RAII for transactions. RAII for transactions.
--- ---
bjam bjam
Add JamFile files
--- ---
Refactoring of core, more fine-grained file structure. Refactoring of core, more fine-grained file structure.
...@@ -28,6 +33,7 @@ Standard names for Session constructor. ...@@ -28,6 +33,7 @@ Standard names for Session constructor.
--- ---
wstring wstring
Unicode support
--- ---
Handle locales in Session (so that operator<< is immune to strange global locale in the user program). It might even make sense to expose imbue(), so that users set up whatever locale they want. Handle locales in Session (so that operator<< is immune to strange global locale in the user program). It might even make sense to expose imbue(), so that users set up whatever locale they want.
...@@ -88,5 +94,36 @@ Make more member functions private ...@@ -88,5 +94,36 @@ Make more member functions private
Values class should be reference counted Values class should be reference counted
--- ---
CSV backend
Example:
Session s("csv:///etc/protocols");
rowset<string> rs = (s.prepare << "1:*");
copy(rs.begin(), rs.end(), ...);
where "1:*" is taken from the top of my head and would mean "first field
from all rows"
- joins are tricky
---
DBF backend, similar to CSV
Session s("dbf:///table.dbf");
rowset<string> rs = (s.prepare << "1:*") // first field from all rows
rowset<string> rs = (s.prepare << "firstname:*") // 'firstname' field from all rows
rowset<Row> rs = (s.prepare << "firstname='John'") // rows where 'firstname' value is 'John'
Sub-concepts:
- joins are tricky
- boolean operators (<,>,=,<=,=> and <>) and WHERE-like clause support as a query
rowset<Row> rs = (s.prepare << "age > 28") // rows where field 'age' is less than 28
rowset<Row> rs = (s.prepare << "age <> 28") // rows where field 'age' is less or more than 28
rowset<Row> rs = (s.prepare << "firstname='John' AND age > 28") // multi-fields combined queries
- very simple home-made SQL parser or SQL-like queries support (see OGR utils from http://www.gdal.org)
---
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment