Skip to content

Migrator

addRecord()

addRecord() — returns void

Available in: migration Category: Migration Functions

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

NameTypeRequiredDefaultDescription
tablestringyesThe table name to add the record to
addRecord(table='people',
		id = 1,
		title = "Mr",
		firstname = "Bruce",
		lastname = "Wayne", 
		email = "bruce@wayneenterprises.com",
		tel = "555-67869099", 
);