Hacker News new | ask | show | jobs
by NathanFlurry 471 days ago
The two tables are intended to be part of the same "chat" partition (ie SQLite database). You can join them with a native SQLite query. Seems I should make this more clear.

Cheers

1 comments

I understand the two tables in your chat example, I think. I'm wondering how you get the rest of the user profile data (name, for example). Is that table in a totally different SQLite database? If so, can you join on that, or do you need to query it separately? Thanks!
Yep. Most designs I've seen put user profiles under a different table which requires a separate query.