Sha256: bc55d50dd2084cc9561f075ae894286766dfd0a5cd7f1d81624993621b520c97

Contents?: true

Size: 498 Bytes

Versions: 32

Compression:

Stored size: 498 Bytes

Contents

# Request Bogey Dope
SELECT b.id, ST_AsText(b.position) AS human_position, b.position AS binary_position, b.altitude, b.heading, b.group, b.type, ST_DISTANCE(sub.position, b.position) as distance, degrees(ST_AZIMUTH(sub.position, b.position)) as bearing
	FROM public.units AS b CROSS JOIN LATERAL
	( SELECT s.position, s.coalition
		FROM public.units AS s
	 	WHERE ID = '102'
	) as sub
WHERE NOT b.coalition = sub.coalition
AND b.type LIKE 'Air+%'
ORDER BY sub.position <-> b.position ASC
LIMIT 10

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
tac_scribe-0.8.1-java scratchpad
tac_scribe-0.8.1 scratchpad
tac_scribe-0.8.0-java scratchpad
tac_scribe-0.8.0 scratchpad
tac_scribe-0.7.6 scratchpad
tac_scribe-0.7.6-java scratchpad
tac_scribe-0.7.5-java scratchpad
tac_scribe-0.7.5 scratchpad
tac_scribe-0.7.4 scratchpad
tac_scribe-0.7.4-java scratchpad
tac_scribe-0.7.3-java scratchpad
tac_scribe-0.7.3 scratchpad
tac_scribe-0.7.3.rc1-java scratchpad
tac_scribe-0.7.3.rc1 scratchpad
tac_scribe-0.7.1-java scratchpad
tac_scribe-0.7.1 scratchpad
tac_scribe-0.7.0-java scratchpad
tac_scribe-0.7.0 scratchpad
tac_scribe-0.6.4-java scratchpad
tac_scribe-0.6.4 scratchpad