Skip to content

Instantly share code, notes, and snippets.

@mdonagh
mdonagh / n1_audit_report_print.html
Created April 28, 2026 22:10
N+1 Query Audit Report - Prosopite Detection - Record360 BE (2026-04-27)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>N+1 Query Audit &mdash; Print Report</title>
<style>
:root {
--red: #dc2626; --orange: #ea580c; --green: #16a34a;
--blue: #2563eb; --gray: #6b7280; --light-bg: #f9fafb; --border: #e5e7eb;
}
@mdonagh
mdonagh / 360_glacier.md
Last active March 27, 2020 18:24
R360 Glacier Archiving GraphQL API guide

Hi all,

Archive status is available as a field in Inspection.

Because the archive status is tracked by inspection and not by Photo, Video, etc, so you need to check the inspection's archiveStatus to see if the file is available or not.

Query:

query($id: ID!) { inspection(id: $id) { id archiveStatus } }