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

How to change "id" in return \App\Models\User::whereKey($ids)->get(['id', 'name', 'email']); #214

Closed
asterism612 opened this issue Dec 12, 2023 · 1 comment

Comments

@asterism612
Copy link

Pulse Version

1.0@beta

Laravel Version

10.24.0

PHP Version

8.2.5

Livewire Version

none

Database Driver & Version

pgsql

Description

How to change "id"?

return \App\Models\User::whereKey($ids)->get(['id', 'name', 'email']);

i use uid instead of id

Steps To Reproduce

..

@jessarcher
Copy link
Member

Please see https://laravel.com/docs/10.x/pulse#application-usage-card for instructions 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants