Abridged summary of comp.lang.tcl@googlegroups.com - 7 updates in 2 topics

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Abridged summary of comp.lang.tcl@googlegroups.com - 7 updates in 2 topics

comp.lang.tcl mailing list
"Едуард Зозуля" <[hidden email]>: Apr 20 11:46PM -0700

Сan I get the data from the sqlite asynchronously ?
 
Is there, for example, a syntax of this kind:
 
db eval "select * from tblname" -callback myreadproc
 
proc myreadproc { args } { ...more
Manfred <[hidden email]>: Apr 21 09:59AM +0200

See https://www.sqlite.org/tclsqlite.html
 
##
 
$db eval {select * from tblname} values {
parray values
}
##
 
or
 
##
proc myreadproc {args} {
puts $args
}
$db eval "select * from ...more
"Едуард Зозуля" <[hidden email]>: Apr 21 01:10AM -0700

неділя, 21 квітня 2019 р. 10:59:48 UTC+3 користувач Manfred написав:
> > puts $args
> > }
 
> > Thanks.
 
This code work not asynchronously.
If query executing 60 ...more
Rolf Ade <[hidden email]>: Apr 21 02:44PM +0200


> This code work not asynchronously.
> If query executing 60 second, my tcl code will be blocked on 60 second.
> My questions about no lock tcl code while being database query executed.
...more
"Едуард Зозуля" <[hidden email]>: Apr 21 05:59AM -0700

неділя, 21 квітня 2019 р. 15:44:39 UTC+3 користувач Rolf Ade написав:
 
> If that is not possible you could use another thread for the query. Run
> your app and maybe ...more
Rich <[hidden email]>: Apr 21 03:12PM

> puts $args
> }
 
> Thanks.
 
Nothing built in to the Sqlite Tcl api.
 
But, if you use the Thread package, you can run your queries in a
second thread, and submit, and receive, queries and ...more
"Едуард Зозуля" <[hidden email]>: Apr 20 11:43PM -0700

Сan I get the data from the sqlite asynchronously ?
 
Is there, for example, a syntax of this kind:
 
$db eval "select * from tblname" -callback myreadproc
 
proc myreadproc { args } { ...more
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to [hidden email].