Currently if the table has a hyphen in it then the function creation will fail due to an invalid function name and the tables weren't quoted. To solve this I did a simple replace of - with _, but happy to change it if there's a different convention you prefer to follow.
Currently if the table has a hyphen in it then the function creation will fail due to an invalid function name and the tables weren't quoted. To solve this I did a simple replace of - with _, but happy to change it if there's a different convention you prefer to follow.