Can we rename this variable?  `sql` is horribly cryptic.  IIUC, something like `database_node` would be more appropriate.