Fine-Tuning Data Access
Custom Connection Properties
OrganizationId
The Trello OrganizationId when you specify it in the connection string, references a specific Trello organization. If specified the range of some queries will be bound to that organization for ex.
SELECT * FROM Listswill return all lists of the boards on that organization.
SELECT * FROM Membershipswill return all members of the organization.
SELECT * FROM Actionswill return all actions actions on the organization.
BoardId
The Trello BoardId when you specify it in the connection string, references a specific Trello board. If specified the range of some queries will be bound to that board for ex.
SELECT * FROM Listswill return all lists of the board.
SELECT * FROM Membershipswill return all members of the board.
SELECT * FROM Actionswill return all Actions of the board. Because a board can have many actions the query may take a while wto execute.
MemberId
The Trello MemberId when you specify it in the connection string, references a specific Trello member. If specified the range of some queries will be bound to that member for ex.
SELECT * FROM Actionswill return all actions of that member
SELECT * FROM Boardswill return all boards that both the logged user and member specified have in common.
IncludeCustomFields
Custom Fields is one of the most popular power ups found on Trello. To begin using Custom fields first activate the power up in your Trello board and create/add custom fields to your cards.
IncludeCustomFields already defaults to true, so just specify the BoardId in the connection string and custom fields will show up. This connection property is used for retrieving custom fields that have been created on Trellos cards.
SELECT * FROM CardsRunning the query above will list all the custom fields created as table columns. The column name will be the custom field name and the row value will be the value of the custom field. In case of a custom field of type dropdown list the name of the option selected will be shown.