
This work is licensed under a Creative Commons Attribution-Share Alike 2.0 France License.
Arghhh today I've discovered reading this bug report that specifying strings are RawStr() in strom, they are actually stored as blobs in sqlite3. The very bad side-effect is that string comparison does not work !!!
The right way to store strings with storm is to use the Unicode() data type instead and to wrap all your strings with the unicode function. If you need "utf-8", you can pass it as optional argument to it. Now string comparisons are 10 times faster !!!!!!!! Argggg
consider the following example :
This is just for reference. I forgot the syntax already twice. The insert query does not work if you use parenthesis.
create table test ( a int , b int) ;
create table test1 ( c int) ;
insert into test1 values 1;
insert into test1 values 2;
insert into test1 values 3;
insert into test1 values 4;
insert into test (a,b) select c,0 from test1;
select * from test;
1|0
2|0
4|0
3|0
Recent comments
2 weeks 4 days ago
22 weeks 6 days ago
1 year 23 weeks ago
1 year 27 weeks ago
1 year 40 weeks ago
1 year 41 weeks ago
1 year 44 weeks ago
1 year 46 weeks ago
1 year 48 weeks ago
2 years 25 weeks ago