Created
July 30, 2012 14:50
-
-
Save OliverUv/3207497 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$skeleton_rows = $db->getResult( | |
"SELECT class_instance_a as skeleton_id | |
FROM class_instance_class_instance cici, | |
class_instance ca, | |
class_instance cb | |
WHERE relation_id = {$relations['model_of']} | |
AND class_instance_b = $neuronID | |
AND cici.class_instance_a = ca.id | |
AND cici.class_instance_b = cb.id | |
AND ca.class_id = {$classes['skeleton']} | |
AND cb.class_id = {$classes['neuron']}"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment