-
-
Notifications
You must be signed in to change notification settings - Fork 523
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
[5.x] Ability to log fake queries #9695
Merged
jasonvarga
merged 34 commits into
statamic:master
from
JohnathonKoster:adds-stache-query-logging-support
Apr 1, 2024
Merged
[5.x] Ability to log fake queries #9695
jasonvarga
merged 34 commits into
statamic:master
from
JohnathonKoster:adds-stache-query-logging-support
Apr 1, 2024
Commits on Mar 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c72935c - Browse repository at this point
Copy the full SHA c72935cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1818006 - Browse repository at this point
Copy the full SHA 1818006View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f3ea3a - Browse repository at this point
Copy the full SHA 4f3ea3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c524230 - Browse repository at this point
Copy the full SHA c524230View commit details
Commits on Mar 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8b71078 - Browse repository at this point
Copy the full SHA 8b71078View commit details
Commits on Mar 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for dd3561a - Browse repository at this point
Copy the full SHA dd3561aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3dae5ee - Browse repository at this point
Copy the full SHA 3dae5eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for dee1b0a - Browse repository at this point
Copy the full SHA dee1b0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b0dd160 - Browse repository at this point
Copy the full SHA b0dd160View commit details
Commits on Mar 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5e4f4e7 - Browse repository at this point
Copy the full SHA 5e4f4e7View commit details -
Uses a real real in-memory sqlite connection. Small price to pay to make it simpler. Remove config option as we'll now always put values into bindings. Now that the QueryExecuted event is populated with more realistic data, bindings are automatically populated within the SQL when using Ray.
Configuration menu - View commit details
-
Copy full SHA for 88e2e42 - Browse repository at this point
Copy the full SHA 88e2e42View commit details
Commits on Apr 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 131e08b - Browse repository at this point
Copy the full SHA 131e08bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 869aae4 - Browse repository at this point
Copy the full SHA 869aae4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 929b7ff - Browse repository at this point
Copy the full SHA 929b7ffView commit details -
- rename trait to fakesqueries - rework to a closure based method that does the timing etc - add to iterator builder - pass table name rather than store, and add methods for figuring out the names - add to iterator builder (e.g. search)
Configuration menu - View commit details
-
Copy full SHA for 5e254ec - Browse repository at this point
Copy the full SHA 5e254ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a4236c - Browse repository at this point
Copy the full SHA 5a4236cView commit details -
- pass the query into the dumper class instead of a bunch of arguments - use a method on the trait to get all the appropriate wheres etc for the dumper - using that new method, provide the additional where clauses for the entries query that way instead of a "extra from statement" - remove dump trait method in favor of creating a new dumper
Configuration menu - View commit details
-
Copy full SHA for 7679a6a - Browse repository at this point
Copy the full SHA 7679a6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for dcc2825 - Browse repository at this point
Copy the full SHA dcc2825View commit details -
Configuration menu - View commit details
-
Copy full SHA for 87bdff3 - Browse repository at this point
Copy the full SHA 87bdff3View commit details -
one-line everything. debugbar is weird when we provide newlines. ray …
…will format to multiline automatically.
Configuration menu - View commit details
-
Copy full SHA for 575954d - Browse repository at this point
Copy the full SHA 575954dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bf8fdb - Browse repository at this point
Copy the full SHA 1bf8fdbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 609db02 - Browse repository at this point
Copy the full SHA 609db02View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17c343d - Browse repository at this point
Copy the full SHA 17c343dView commit details -
dont fake queries in iterator builder, it's too much. we use that for…
… filtering pages etc. move it to just the search query.
Configuration menu - View commit details
-
Copy full SHA for ce548f9 - Browse repository at this point
Copy the full SHA ce548f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4adb4da - Browse repository at this point
Copy the full SHA 4adb4daView commit details -
fix nested where not showing in search queries since they arent stach…
…e builders. removed the condition entirely. not sure when there would be no builder.
Configuration menu - View commit details
-
Copy full SHA for d85ab55 - Browse repository at this point
Copy the full SHA d85ab55View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d5817c - Browse repository at this point
Copy the full SHA 5d5817cView commit details -
add onceWithColumns ported from laravel ...
this allows to avoid the `$this->columns ?? $columns` situation. `$this->columns` will always be what you need. also fixes `$query->get(['col1', 'col2'])` not showing proper `select`ed columns within our fake queries
Configuration menu - View commit details
-
Copy full SHA for fe32412 - Browse repository at this point
Copy the full SHA fe32412View commit details -
Configuration menu - View commit details
-
Copy full SHA for d489e6d - Browse repository at this point
Copy the full SHA d489e6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b9a5579 - Browse repository at this point
Copy the full SHA b9a5579View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bbb62c - Browse repository at this point
Copy the full SHA 9bbb62cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2975ace - Browse repository at this point
Copy the full SHA 2975aceView commit details -
Configuration menu - View commit details
-
Copy full SHA for e191b87 - Browse repository at this point
Copy the full SHA e191b87View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c1ef7d - Browse repository at this point
Copy the full SHA 2c1ef7dView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.