will change in table name impact api based on the table

Options
Will api logic be impacted if I rename the name of the table being used

Comments

  • Michael Udinski
    Michael Udinski Administrator

    ADMIN

    Options
    If you change a table name then any database request functions that reference that table will need to be added brand new again pointing to the table with its new name
  • Michael Udinski
    Michael Udinski Administrator

    ADMIN

    Options
    Any reference to that table would need to be updated in the function stack
  • dorian
    dorian Member
    Options

    @Michael Udinski does the include capitalization? Say change a table name from Products to products?

  • fredo22
    fredo22 Member
    edited August 2023
    Options

    @Michael Udinski  If Xano stores table references in the function stack, why is the function stack not smart enough to change the name of the referenced table? ie. If I change a table name from "Company" to "Organization", why can't Xano change a function result that referenced that table eg. "return as Company_1" to "return as Organization_1".

  • edwin
    edwin Member
    Options

    How can I change the function stack reference table once it had be created?