[go-nuts] Re: Variadic parameters to SQL-queries, specifically gopkg.in/rana/ora.V*

2017-02-24 Thread Trond Kandal
Thank You so much again, Sir! Sorry, I have been searching around, but not found that documentation. Now I have learned a lot! Trond. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from

[go-nuts] Re: Variadic parameters to SQL-queries, specifically gopkg.in/rana/ora.V*

2017-02-24 Thread Trond Kandal
Thank You very much, Sir! That did the trick! I am not used to the small and subtle tricks of Go yet. Is there any way I can append parameters to the variable as I go, before passing it to the query? -- You received this message because you are subscribed to the Google Groups "golang-nuts"

[go-nuts] Re: Variadic parameters to SQL-queries, specifically gopkg.in/rana/ora.V*

2017-02-24 Thread Trond Kandal
Thank Your for your answer, Sir! Hmmm... I do not seem to get it working sqlQry := "SELECT * FROM TIA_EMNEINFO WHERE EMNEKODE = :1" stmt, err := ses.Prep(sqlQuery, ora.OraI64, ora.OraS, ora.OraS, ora.OraS, ora.OraS, ora.OraS, ora.OraI64, ora.OraS, ora.OraI64, ora.L, ora.L, ora.OraI64)

[go-nuts] Variadic parameters to SQL-queries, specifically gopkg.in/rana/ora.V*

2017-02-24 Thread trond . kandal
Hello Maybe this is a very simple and stupid, but I have not found out how to specify variadic arguments to SQL-queries. I am a novice and I do not understand how this work in Go. I have some REST-endpoints to implement, each endpoint may receive GET-parameters which I want to pass on to the