MySQL

Finding Friends of Friends with MySQL

Finding Friends of Friends with MySQL

A practical graph-traversal pattern for MySQL 8. Undirected friendships are stored once as canonically ordered pairs, expanded into directed...