check table is the column is null or not
only return the lastrowid when insert on save