pkg.q

pkg.q - package loading: .pkg.loadq[`:dirlist] loads every .q file under the directories, then runs each namespace's init* The only public function intended to be called is .pkg.loadq[`:dirlist] That first loads all .q files in Then runs init* from every namespace available in kdb

Entity Summary

EntitiesShort Description
.pkg.findFuncs[ns;pattern;logEmpty]find functions with a certain name pattern within the selected namespace
.pkg.lg[x]Question should errors be thrown or logged while loading
.pkg.loadQFilesIn[dirList]Given a list of directories search full depth and load all .q/.k files in those directories
.pkg.loadq[dirList]
.pkg.run[func]attempt to run 0-arg function or throw an error

Entity Details

.pkg.findFuncs[ns;pattern;logEmpty]

find functions with a certain name pattern within the selected namespace

Parameters:
  • logEmpty - (boolean) If set to true write to log that no funcs found otherwise stay silent

.pkg.loadQFilesIn[dirList]

Given a list of directories search full depth and load all .q/.k files in those directories

Parameters:
  • dirList - (Symbol List) - Paths ot load