WIP working sql get
WIP documenting custom SQL fetch