Like this it works.
OK, building the temporary table takes some seconds with a table of 10 mio
records, but the queries are really fast then, 10 to 30 ms!!
Thanks so much guys for helping me with this :)
Tom
Am 24.05.2017 um 18:42 schrieb Keith Medcalf:
On Wednesday, 24 May, 2017 07:21
On Wednesday, 24 May, 2017 07:21
> > there is no system in existence that will do
> I was working a lot with Valentina-DB and they have a cursor class:
>
> var cursor=database.SqlSelect( "SELECT... WHERE... ORDER...");
>
> then you can just get any the ListView wants, forward and backwards,
nal Message-
From: sqlite-users
[mailto:sqlite-users-boun...@mailinglists.sqlite.org] On Behalf Of
Thomas Flemming
Sent: Wed 24 May 2017 10:37
To: sqlite-users@mailinglists.sqlite.org
Subject: Re: [sqlite] SQLite3.Step fast forward / skipping rows
Almost, but when you compare to a telephone directory, then th
On 5/24/17, Thomas Flemming wrote:
> Hi Ron,
>
> > there is no system in existence that will do
> I was working a lot with Valentina-DB and they have a cursor class:
>
> var cursor=database.SqlSelect( "SELECT... WHERE... ORDER...");
>
> then you can just get any the ListView
f Of Thomas Flemming
Sent: Wed 24 May 2017 14:21
To: sqlite-users@mailinglists.sqlite.org
Subject: Re: [sqlite] SQLite3.Step fast forward / skipping rows
Hi Ron,
> there is no system in existence that will do
I was working a lot with Valentina-DB and they have a cursor class:
var cursor=data
ge-
From: sqlite-users [mailto:sqlite-users-boun...@mailinglists.sqlite.org] On
Behalf Of Thomas Flemming
Sent: Wed 24 May 2017 10:37
To: sqlite-users@mailinglists.sqlite.org
Subject: Re: [sqlite] SQLite3.Step fast forward / skipping rows
Almost, but when you compare to a telephone directory, then the use cas
4 May 2017 10:37
To: sqlite-users@mailinglists.sqlite.org
Subject: Re: [sqlite] SQLite3.Step fast forward / skipping rows
Almost, but when you compare to a telephone directory, then the use
case of
fast scrolling down in a listbox would be going directly to page 800
and not
going to "Smit
I might be wrong, but to me this sounds like an application coding problem
to do with your listview.
You will need to code in such a way that the listview doesn't get updated
when it doesn' t have to.
Does the data come directly from the DB or is there an intermediate eg an
array?
RBS
On Wed,
te-users-boun...@mailinglists.sqlite.org] On
Behalf Of Thomas Flemming
Sent: Wed 24 May 2017 10:37
To: sqlite-users@mailinglists.sqlite.org
Subject: Re: [sqlite] SQLite3.Step fast forward / skipping rows
Almost, but when you compare to a telephone directory, then the use case of
fast scrolling down in a
The trick is to have a way to identify the first/current row and use that in
the WHERE clause.
e.g. SELECT ... FROM customers WHERE customer_id >= last_displayed LIMIT
window_size
If your select statement is a complex join without any usable key, you will
have to resort to storing the results
age-
From: sqlite-users [mailto:sqlite-users-boun...@mailinglists.sqlite.org] On
Behalf Of Thomas Flemming
Sent: Wed 24 May 2017 10:37
To: sqlite-users@mailinglists.sqlite.org
Subject: Re: [sqlite] SQLite3.Step fast forward / skipping rows
Almost, but when you compare to a telephone directory, then
Almost, but when you compare to a telephone directory, then the use case of
fast scrolling down in a listbox would be going directly to page 800 and not
going to "Smithson".
And yes, there is a unique key, but this doesn't help, because the list can
also be sorted to various columns.
Am
You need to write your application like a telephone directory. To get to the
page with the "Smithson" entry on it, you do not read all the entries starting
from the begining until you get there -- you turn directly to the page you want
by doing a search.
Surely you have a unique key for the
13 matches
Mail list logo