ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:userguide:learn_dictionary:metacolumns

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
v5:userguide:learn_dictionary:metacolumns [2016/03/17 00:04] – [Extended Attributes] mnewnhamv5:userguide:learn_dictionary:metacolumns [2016/03/17 00:16] mnewnham
Line 1: Line 1:
-<- v5:userguide:learn_dictionary:metatypes|MetaTypes ^ v5:userguide:learn_dictionary:start_lesson|Start Of Lesson ^ v5:userguide:learn_dictionary:metatables|MetaTables ->+<- v5:userguide:learn_dictionary:metatypes|MetaTypes ^ v5:userguide:learn_dictionary:start_lesson|Start Of Lesson ^ v5:userguide:learn_dictionary:other_metafunctions|Other MetaFunctions ->
 ~~NOTOC~~ ~~NOTOC~~
 ====== MetaColumns ====== ====== MetaColumns ======
Line 39: Line 39:
  
 ===== metaColumnNames ===== ===== metaColumnNames =====
-This method returns just the column names from the table.+This method [[v5:dictionary:metacolumnnames|metaColumnNames()]] returns just the column names from the table. 
 +<code php> 
 + 
 +$ar = $db->metaColumnNames('test'); 
 +print_r($ar); 
 +/* 
 + * Returns: 
 +COLUMN_1=>column_1, 
 +COLUMN_2=>column_2, 
 +COLUMN_3=>column_3 
 +*/ 
 +</code>
v5/userguide/learn_dictionary/metacolumns.txt · Last modified: 2016/03/20 15:05 by mnewnham