Open screw opened 2 years ago
Haven't tried telescope - but can recommend clockwork as replacement https://github.com/itsgoingd/clockwork
Haven't tried telescope - but can recommend clockwork as replacement https://github.com/itsgoingd/clockwork
Thank you, that looks great. I'll give it a try. And just to be clear, you know clockwork works with NeoEloquent (and the new Laudis/neo4jphp client)?
I've upgraded to neoEloquent 9.0.5 which now works with Laravel Telescope, but it fails when I use
where()
.Just to clarify: if I turn off telescope's query watcher, I can do all sorts of cypherQueries. But when I enable the query watcher, only simple queries - (without where filters, just get all nodes of a certain type for example).
$data = $neoClass::query(); $result=$data->paginate();
When I try to include filters aka WHERE clause
->where(...)
, the query fails:The problem is in the telescope because it doesn't check what is returned from getPdo() (link snipped below). But they are not willing to address it within their code.
I am wondering how NeoEloquent works with the simple queries since those are logged in the telescope. Maybe there is a fix since some queries work with the telescope.
Call stack: