Skip to content
This repository

how to get column owner table ? #11

Closed
KiPSOFT opened this Issue · 4 comments

2 participants

Serkan KOCAMAN Henri Gourvest
Serkan KOCAMAN

hi;

how to get column owner table in statement.output ? because this query "select * from table1 t1 left outer join table2 t2 on t2.t1_id = t1.id" include same column name (id) and same alias value in statement.output. i want a generate "insertsql, updatesql and deletesql" and this a big problem for me.

thanks.

Henri Gourvest
Owner
  • you can't have the same alias, firebird prevent such a situation.
  • the owner is a user not a table.
  • you probably need the "relation" name and original "field" names.

do you agree ?

Serkan KOCAMAN

but statement output include same alias.
yes i need field table.
yes i need relation and orginal field name.

Henri Gourvest
Owner

but statement output include same alias.
ho! you right.

Henri Gourvest hgourvest closed this issue from a commit
Henri Gourvest fix #11 041deeb
Henri Gourvest hgourvest closed this in 041deeb
Serkan KOCAMAN

thanks for fix. this library awesome :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.