Procs
func getColumn(pragma: Pragma): string {....raises: [], tags: [].}
- Returns name of column for references pragma Source Edit
proc getProperties(impl: NimNode): seq[Property] {....raises: [], tags: [].}
- Source Edit
func getTable(pragma: Pragma): string {....raises: [], tags: [].}
- Returns name of table for references pragma Source Edit
proc hasProperty(obj: NimNode; property: string | NimNode): bool
- Source Edit
func initPragma(pragmaVal: NimNode): Pragma {....raises: [], tags: [].}
- Creates a pragma object from nnkPragmaExpr node Source Edit
func isOptional(prop: Property): bool {....raises: [], tags: [].}
- Returns true if the property has an optional type Source Edit
func isPrimary(prop: Property): bool {....raises: [], tags: [].}
- Returns true if the property is a primary key Source Edit
proc lookupImpl(T: NimNode): NimNode {....raises: [], tags: [].}
- Performs a series of magical lookups to get the original type def of something Source Edit