Greg Sexton

Results 85 comments of Greg Sexton

For sure. Just pointing out that users can work around the limitation.

Yeah we should converge. I avoided 'user' in the auth because you don't choose your id, it's generated. This is a common pattern with web services and they usually call...

``` skdb.exec( `INSERT INTO foo (x, skdb_access, skdb_author) VALUES (@dbName, @whoami, @whoami);`, { dbName, whoami: skdb.currentUser ?? null }, ); ```

I think this can be done quite easily and I'm not against it. Can't hurt to make this situation convenient. But I'm less sold on the value prop. And I...

I'm expecting the relevant row to be returned but I get an empty result set.

Simplifying as much as I can `select * from task_events where eid in (SELECT max(eid) FROM task_events);` doesn't return any results either.

Ah! But `select * from task_events where eid in (SELECT eid FROM task_events);` does. So must be the function?

This is a low hanging one if someone fancies a quick win.

Pass —user to control who you’re logged in as. In dev mode credentials are fetched from the server itself. If you don’t specify a user, it uses the first in...