Iyrye
0
Q:

active record

part = new Part()
part.name = "Sample part"
part.price = 123.45
part.save()

// will create a new row in the parts table with the given values, and is roughly equivalent to the SQL command

INSERT INTO parts (name, price) VALUES ('Sample part', 123.45);
0

New to Communities?

Join the community