All checks were successful
		
		
	
	Run Check Script / check (pull_request) Successful in 59s
				
			Co-authored-by: Jean-Gabriel Gill-Couture <jeangabriel.gc@gmail.com> Co-authored-by: Ian Letourneau <ian@noma.to> Reviewed-on: https://git.nationtech.io/NationTech/harmony/pulls/130 Reviewed-by: Ian Letourneau <ian@noma.to> Co-authored-by: Jean-Gabriel Gill-Couture <jg@nationtech.io> Co-committed-by: Jean-Gabriel Gill-Couture <jg@nationtech.io>
		
			
				
	
	
		
			33 lines
		
	
	
		
			1007 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			1007 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
  "db_name": "SQLite",
 | 
						|
  "query": "\n        SELECT\n            p1.id,\n            p1.version_id,\n            p1.data as \"data: Json<PhysicalHost>\"\n        FROM\n            physical_hosts p1\n        INNER JOIN (\n            SELECT\n                id,\n                MAX(version_id) AS max_version\n            FROM\n                physical_hosts\n            GROUP BY\n                id\n        ) p2 ON p1.id = p2.id AND p1.version_id = p2.max_version\n        ",
 | 
						|
  "describe": {
 | 
						|
    "columns": [
 | 
						|
      {
 | 
						|
        "name": "id",
 | 
						|
        "ordinal": 0,
 | 
						|
        "type_info": "Text"
 | 
						|
      },
 | 
						|
      {
 | 
						|
        "name": "version_id",
 | 
						|
        "ordinal": 1,
 | 
						|
        "type_info": "Text"
 | 
						|
      },
 | 
						|
      {
 | 
						|
        "name": "data: Json<PhysicalHost>",
 | 
						|
        "ordinal": 2,
 | 
						|
        "type_info": "Blob"
 | 
						|
      }
 | 
						|
    ],
 | 
						|
    "parameters": {
 | 
						|
      "Right": 0
 | 
						|
    },
 | 
						|
    "nullable": [
 | 
						|
      false,
 | 
						|
      false,
 | 
						|
      false
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "hash": "8d247918eca10a88b784ee353db090c94a222115c543231f2140cba27bd0f067"
 | 
						|
}
 |