--- id: cd title: ".cd()" slug: cd --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; Finds all rows whose json, array, or range value on the stated `column` is contained by the specified `value`. ```js const { data, error } = await supabase .from('countries') .select('name, id, main_exports') .cd('main_exports', ['cars', 'food', 'machine']) ``` ```py # Not yet implemented ``` ## Parameters ## Examples ### With `select()` ```js const { data, error } = await supabase .from('countries') .select('name, id, main_exports') .cd('main_exports', ['cars', 'food', 'machine']) ``` ```py # Not yet implemented ``` ### With `update()` ```js const { data, error } = await supabase .from('countries') .update({ name: 'Mordor' }) .cd('main_exports', ['orks', 'surveillance', 'evil']) ``` ```py # Not yet implemented ``` ### With `delete()` ```js const { data, error } = await supabase .from('countries') .delete() .cd('main_exports', ['cars', 'food', 'machine']) ``` ```py # Not yet implemented ``` ### With `rpc()` ```js // Only valid if the Stored Procedure returns a table type. const { data, error } = await supabase .rpc('echo_all_countries') .cd('main_exports', ['cars', 'food', 'machine']) ``` ```py # Not yet implemented ```