Skip to content
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.

Some docs would be nice! #1

Open
loxy opened this issue Jul 16, 2018 · 4 comments
Open

Some docs would be nice! #1

loxy opened this issue Jul 16, 2018 · 4 comments

Comments

@loxy
Copy link

loxy commented Jul 16, 2018

Do you plan anything? Do you have tests?

@tngmichael
Copy link
Owner

tngmichael commented Aug 31, 2018

Sorry my bad, did not notice here. I will update it within couple of days

@loxy
Copy link
Author

loxy commented Aug 31, 2018

Great!

@benjie
Copy link

benjie commented Sep 27, 2018

From a quick scan of the source it looks like the smart comment must match this regex:

        /^\((.+)\) references ([^(]+)(?:\((.+)\)|)$/

i.e.

COMMENT ON TABLE my_view IS E'@foreignKey (view_column) references (my_table)(id)';

?

@tngmichael
Copy link
Owner

Okay will take a look.. still busy on work, thanks @benjie

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants