sql
app/controllers/api/v1/towns_controller.rb:32
|
114 ms
|
1.4
|
76 %
|
SELECT `crags`.* FROM `crags` WHERE (`crags`.`deleted_at` IS NULL OR `crags`.`deleted_at` > '2022-06-30 00:32:01.416484') AND (getRange(latitude, longitude, 48.616699, 2.48333) < 10000) ORDER BY `crags`.`id` ASC LIMIT 1000
|
code
app/controllers/api/v1/towns_controller.rb:27
|
27 ms
|
1.0
|
13 %
|
Api::V1::TownsController#geo_json
|
sql
app/controllers/api/v1/towns_controller.rb:37
|
15 ms
|
1.0
|
7 %
|
SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`deleted_at` > '2022-06-30 00:32:01.559428') AND (getRange(latitude, longitude, 48.616699, 2.48333) < 10000) ORDER BY `gyms`.`id` ASC LIMIT 1000
|
code
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
|
5 ms
|
1.0
|
2 %
|
|
sql
app/controllers/api/v1/api_controller.rb:42
|
2 ms
|
1.0
|
<1 %
|
SET NAMES utf8mb4, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483
|
sql
app/controllers/api/v1/towns_controller.rb:56
|
1 ms
|
1.0
|
<1 %
|
SELECT `towns`.* FROM `towns` WHERE `towns`.`slug_name` = 'celles-sur-durolle' LIMIT 1
|
sql
app/models/gym.rb:75
|
<1 ms
|
<0.1
|
<1 %
|
SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `active_storage_attachments`.`record_id` = 244 AND `active_storage_attachments`.`record_type` = 'Gym' AND `active_storage_attachments`.`name` = 'banner' LIMIT 1
|