           Date: "timestamp with time zone",
           Boolean: "boolean"
         },
+        props = obj.properties,
         result = true,
         found,
-        i;
+        i = 0;
 
       if (!table) { return false };
 

        params = [],
        values = [],
        sql,
        i;

      for (i = 0; i < keys.length; i++) {
        args.push(keys[i].toSnakeCase());
        tokens.push("%I");
        params.push("$" + (i + 1));
        values.push(obj.data[keys[i]]);
      }

      sql = FP.formatSql("insert into fp.%I (" + tokens.toString(",") + ") values (" + params.toString(",") + ") returning *;", args);
      result = plv8.execute(sql, values)[0];
      delete result.id;
      

          break;
        }
        if (!result) { break }
        i++;
      }

      if (result) { plv8.execute(sql); }
