Top "Composite" questions

The Composite pattern is a design pattern that allows a group of objects to be treated in the same way as a single instance of an object.

How to clear the canvas for redrawing

After experimenting with composite operations and drawing images on the canvas I'm now trying to remove images and compositing. How …

javascript html canvas html5-canvas composite
How do composite indexes work?

I've created composite indexes (indices for you mathematical folk) on tables before with an assumption of how they worked. I …

sql indexing composite
Check if a Postgres composite field is null/empty

With postgres composite types you can basically build a field with the structure being defined as another table. I have …

sql postgresql null composite
When should I use composite design pattern?

I don't understand when I should use composite design pattern. What kinds of benefits will I get from this design …

design-patterns composite
SQL join with composite primary key

I have to join two tables. But in one table primary key is not there,composite primary key is there,…

sql join composite composite-primary-key
Difference between the Composite Pattern and Decorator Pattern?

What is the difference between the Composite Pattern and Decorator Pattern?

design-patterns decorator composite
EXECUTE...INTO...USING statement in PL/pgSQL can't execute into a record?

I'm attempting to write an area of a function in PL/pgSQL that loops through an hstore and sets a …

postgresql record plpgsql dynamic-sql composite
Relations on composite keys using sqlalchemy

I have this simple model of Author - Books and can't find a way to make firstName and lastName a …

python sqlalchemy key composite database-relations
MySQL: how to index an "OR" clause

I'm executing the following query SELECT COUNT(*) FROM table WHERE field1='value' AND (field2 >= 1000 OR field3 >= 2000) There is …

mysql indexing composite where
How to set value of composite variable field using dynamic SQL

Given this type: -- Just for testing purposes: CREATE TYPE testType as (name text) I can get the value of …

postgresql stored-procedures types composite plpgsql