Skip to content

Instantly share code, notes, and snippets.

View jtmac69's full-sized avatar
🎯
Focusing

JT McGibbon jtmac69

🎯
Focusing
View GitHub Profile
@jtmac69
jtmac69 / member_profile_associations.js
Last active December 31, 2015 23:29
Generated Sencha model associations config
associations: [
{
type: "belongsTo",
model: "MyApp.model.web",
foreignKey: "web_uid",
primaryKey: "uid"
},
{
type: "hasMany",
model: "MyApp.model.member_broker_searches",
@jtmac69
jtmac69 / getAssociations.sql
Created December 20, 2013 17:29
SQL Query for a table objects relationships
/**************************************************************************************
FILE
getAssociations.sql
DESCRIPTION
Transact SQL (MS) sql snippet to genreate a list of the
relationships and their types to a given table object