Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 387 Bytes

File metadata and controls

12 lines (8 loc) · 387 Bytes

Datasource

Make sure you register a datasource in your ColdFusion administrator, we called ours contacts and then register it in your ColdBox configuration so ColdBox can build datasource structs for us. This is totally optional, but we do it to showcase more injections:

config/ColdBox.cfc

datasources = {
    contacts = {name="contacts", dbtype="mySQL"}
};