Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simple join approach #237

Open
REDAL opened this issue Jul 4, 2022 · 0 comments
Open

simple join approach #237

REDAL opened this issue Jul 4, 2022 · 0 comments
Labels
discussion enhancement New feature or request

Comments

@REDAL
Copy link

REDAL commented Jul 4, 2022

Hi SleekDB community,

I did found a library that use a simpler approach for joins ,

$users = $db->collection('Users');
$comments = $db->collection("Comments");
$users->where('id', '=', '1')->join($comments, 'user_id', 'id')->fetchArray()

what do you think to implement it like that in a future release?

credits : dwgebler

@Timu57 @rakibtg

@Timu57 Timu57 added enhancement New feature or request discussion labels Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants