Return to v2.1 docs

addRecord()


Migrator Migration Functions void migration


Adds a record to a table Only available in a migration CFC

Name Type Required Default Description
table string Yes The table name to add the record to
addRecord(table='people',
		id = 1,
		title = "Mr",
		firstname = "Bruce",
		lastname = "Wayne", 
		email = "[email protected]",
		tel = "555-67869099", 
);

Related Functions

Migration Functions