Krish

Results 47 comments of Krish
trafficstars

```console $ head -n10 go.mod module /path/... go 1.19 require ( github.com/dosco/graphjin v0.20.33 github.com/jmoiron/sqlx v1.3.5 github.com/lib/pq v1.10.7 ) $ go run main.go panic: postgres: foreign key column not found: X.Y...

I dumped the columns in `c := t.Columns[i]` and foreign table (?) in `ft := s.tables[v.nodeID]` and I can confirm that the columns `c` is present in `ft` but the...

As a summary, I am trying to comb through the library now to resolve why my query does not find the correct DB function to call.. :) I am trying...

It doesn't seem that SQL Functions are handled in graphjin as is; I see some commented and an early exit with error when a table name corresponding to the query...

Yes, this should have been documented, or if it has been, I missed it. We use functions exclusively so that we can refactor them in case the table schema cannot...

Every function can return a table, ref https://www.postgresql.org/docs/current/sql-createfunction.html EDIT: Some of our functions also return a boolean, or a set or other return types, as mentioned in https://www.postgresql.org/docs/current/xfunc-sql.html

Does it support all the schema directives too?

@dosco any update on this? I get your earlier comment about docs are open source, but I do not know what to write there as I am unsure of what...

I have not solved it, and it seems to be hidden underneath many layers. Again, I have gone through source code, docs, googled for things, and came up with nothing...