Skip to content

Feature or bug? ->loadCount returns snake cased and ->withCount returns relName_count #52038

Discussion options

You must be logged in to vote

I was using withCount('relationName as relationName_count') that is why it returned like that.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bulletproof-coding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant