Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Eloquent insert query shows the query builder default select query  #230

@eggnaube

Description

@eggnaube

The following query on Eloquent inserts will be select * from <table-name> anytime, because the insert method is a generic method, and not a query builder method on the model.

'query' => $query->toBase()->toSql()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions