Is there a way to set the delimeter from rL to something else (perhaps without
editting the asyncnet library itself).
@flyx I guess it's not NEEDED because I can just store it in a table but after
using Python year after year it just seems like something natural.
The "solution" based on posts above is:
import tables
template `.?`*[T](a: T, f: untyped): untyped =
a[astToStr(f)]
So soemthing like Python's setattr() doesn't exist then?
Is this possible in nim?
An example of what I mean:
type
test* = object
var t = test()
var t.name = "kek" #This would fail to compile
@OderWat Thank you for that!
@OderWat There is no difference in the length. The data is there it's just NULL
and for some reason that isn't being caught when I try to reference the index.
@OderWat SIGSEGV: Illegal storage access. (Attempt to read from nil?) Results
in the same error. Already tried that actually.
For some reason this is not catching the exception and crashing with a
"SIGSEGV: Illegal storage access. (Attempt to read from nil?)"
proc select_all(): Future[seq[Table[string, string]]] {.async.} =
var dbC: DbColumns = @[]
var data = newSeq[Table[string, string]]()
Instead of returning just the row/s is there a way to return
column_name:column_value pairs?