Tag: records

8 How do I get model/record attributes in their proper types, and not just strings? 2014-11-13T18:11:24.377

6 Query table in a different database 2015-04-01T19:46:47.973

5 How can I expand on a normal Craft query to sort by a column in a custom table? 2014-09-23T19:32:58.407

5 Populate a record with a model? 2014-11-29T03:56:51.147

4 What attribute type should I set in the record or model to create a TEXT type in the database? 2015-05-14T11:44:53.010

4 How can I populate some records after my plugin is installed? 2016-08-09T18:12:08.470

4 Foreign Key column pointing to `craft_relations` table 2016-08-11T05:42:04.810

4 How do I include record relationships in validation? 2016-09-04T21:42:04.183

3 How to check if a DateTime attribute is set? 2014-07-15T22:28:05.733

3 Models v Records - confused 2014-12-17T18:46:46.790

3 Can a model or record have conditional requirements? 2015-02-15T01:14:55.610

3 Plugin uninstall only removes one table 2015-12-08T06:38:11.023

3 Model/Record AttributeType documentation? 2016-07-04T20:23:06.970

3 Getting related models in templates? 2016-08-25T09:45:10.087

2 How can I join plugin data with entry data based on uri? 2014-09-07T14:01:16.777

2 How to create plugin pivot table entries? 2015-07-08T15:27:49.187

2 Mysql error when defining related tables 2015-07-28T07:23:07.700

2 Craft CMS Plugin Save Record to DB from Variable 2015-08-14T16:18:42.877

2 Dealing with existing data in a separate database 2015-09-05T12:09:21.733

2 Save multiple records at once 2016-05-18T08:51:37.790

2 Is it possible to create composite Primary Keys in Records? 2016-06-16T11:47:46.647

2 Custom plugin - cannot save record 2017-03-16T11:42:23.430

2 Paginate records? 2017-12-06T16:10:58.290

1 Plugin: Fill Record with data (auto generated form) 2014-08-27T12:10:01.967

1 Do I need a model when I have a record? 2014-08-28T17:25:08.687

1 The Active Record 2015-02-19T12:25:22.533

1 Plugin: Making a record's dateUpdated column update to CURRENT_TIMESTAMP 2015-03-11T22:38:17.773

1 When using Active Record with a View (instead of Table) the primary key is not set in the record after save 2015-03-26T20:07:26.937

1 Record - Mixed/String values will not be saved if attribute not required=true 2015-03-27T19:46:07.227

1 Define record start ID 2016-04-25T21:16:27.940

1 Add Record without deleting data 2016-05-20T11:28:19.113

1 Filter conditions on related UserModel in custom Record 2016-09-15T04:41:32.160

1 AttributeType::Handle Validation and Unique 2017-01-07T03:35:17.857

1 Saving Form Data to Plugin Record via Javascript 2017-07-18T19:34:44.357

0 Complex queries 2014-11-19T10:33:02.513

0 AttributeType::String is NULL in my database 2015-03-23T21:56:47.260

0 setAttribute Issue 2015-05-12T14:20:09.947

0 Hooking into event when record deleted from custom plugin 2015-10-21T16:37:43.333

0 Unable to connect to db via console with a custom config directory path 2015-12-10T09:16:02.747

0 Plugin Use Default Value When Empty 2016-04-02T18:39:17.947

0 Over time, records no longer get created in database 2016-06-15T14:27:47.880

0 Update record definition after plugin is already installed 2016-12-12T22:39:51.397

0 Craft 3 using Active Record in Twig 2017-10-16T14:48:37.207