edge
edge copied to clipboard
Edge provides graph functionality to ActiveRecord.
Hi! Thanks for the library! Could someone tell, does the library work only with tree structures or it also supports non tree graphs like here? https://en.wikipedia.org/wiki/Tree_(data_structure)#/media/File:Directed_graph_with_branching_SVG.svg I mean structures with...
Hello, using this gem I get this error when loading models ``` Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): "\"module_elements\".\"position\" DESC". Non-attribute...
In 0.4.4: ``` ruby Group.where(name: "Universal Questions").find_forest ``` will generate the following SQL: ``` sql WITH RECURSIVE "all_nodes" AS ( SELECT "prompts"."id", "prompts"."parent_id" FROM "prompts" WHERE "prompts"."type" IN ('Group') AND...
Would it be feasible to attempt to detect support for recursive queries from the database adapter, an revert to a naive approach if it isn't available? This way it would...