Postgresql:

```
select column_name, data_type, character_maximum_length
from INFORMATION_SCHEMA.COLUMNS where table_name = '<name of table>';
``` 

Parse as appropiate from there

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/671#issuecomment-153773953
_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to