I never had the feeling that Nims cursor is related to databases. My guess was that cursor is some form of alias for pointer and references? I think in German cursor is Mauszeiger.
But actually, I should learn more about cursor pragma, see https://github.com/StefanSalewski/cdt/issues/2.