libera/#commonlisp - IRC Chatlog
Search
13:13:18
pve
Hey! Does "hook" refer to the variable to which functions (or symbols) are added or does it refer to the *functions* that are added to the list variable? I think I've seen it used both ways.
13:18:01
pjb
pve: in general, to both. But I use meat for the functions, so I can hang meat on the hooks. ;-)
13:18:34
pjb
pve: yes, the list is definitely a hook if the functions are called at specific point to allow for extensions.
20:56:06
prxq
I'm wondering how to deal with the connection. ORMs in other languages have "sessions", which reconnect when the server times out. Mito does not seem to have something like it.
21:24:39
pjb
Then you'd need to implement such session layer. That said, with modern network hardware, TCP is usually stable, it's rare that you get disconnected.
22:14:15
prxq
i'm having trouble searching in tables for items having NULL values. Basically, SELECT column_names FROM table_name WHERE column_name IS NULL; Anyone knows how to specify this?
22:48:28
prxq
so no, you can't search for elements having a null field. That sucks. Very disappointing.
22:52:22
prxq
bitspook[m]: yeah but even there I'm not so sure. How'd you write a sxql search for a row with a null value?
22:54:30
bitspook[m]
I suppose so. I haven't had a problem with building an SQL query with sxql so far; if worse comes to worse, you can write raw SQL.
23:00:19
bitspook[m]
prxq: Above is one way to do it without fighting sxql/mito too much. I am not sure what you're trying to do, but maybetry `(:raw "PART OF QUERY IN RAW SQL")`
23:01:47
prxq
pjb: the problem is getting the right sql query out of the orm, Once the sql is correct, it finds them just fine