SQL command, insert into parts (name, price) values Sample part 123.45 Conversely, the class can be used to query the database: b nd_first name "gearbox This will find a new Part object based on the first matching row from the parts table whose name column.
6 Laravel contains an ORM called 'Eloquent' which implements the active record pattern, closely resembling that of Ruby on Rails 7 CakePHP 's ORM implements the active record pattern, 8 but as of version.x queries return arrays of data, with levels of related data.
13 Java edit The Java language implements the Active Record pattern via the Activejdbc library.
12 Other ORMs have been released since ActiveRecord first appeared.
ActiveJPA and jOOQ (for Java Object Oriented Querying) implements the Active record pattern, combining active records with source code generation and a querying DSL similar to SQL allowing for retrieving active records using complex SQL statements.