Skip to content

Conversation

rbochenski
Copy link

When we have queries with casting like below

Table::query()
  ->select()
  ->addSelect(DB::raw('x::text as x'))
  ->where('y', 'something');

then parameter binding is generating query like

SELECT *, x:'something' FROM table WHERE y = ?

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

Successfully merging this pull request may close these issues.

1 participant