Procs
proc strCol(name: string): Column {.
raises: [], tags: [].}- Source Edit
proc intCol(name: string): Column {.
raises: [], tags: [].}- Source Edit
proc floatCol(name: string): Column {.
raises: [], tags: [].}- Source Edit
proc dateCol(name: string; format: string = "yyyy-MM-dd"): Column {.
raises: [], tags: [].}- Source Edit
Macros
macro schemaType[](schema: static[openArray[Column]]): untyped
- Creates a type corresponding to a given schema (the return type of the generated schemaParser proc). Source Edit
macro schemaParser[](schema: static[openArray[Column]]; sep: static[char]): untyped
- Creates a schema parser proc, which takes a string as input and returns a the parsing result as a tuple, with types corresponding to the given schema Source Edit