knadh / localStorageDB

A simple database layer for localStorage and sessionStorage for creating structured data in the form of databases and tables
http://nadh.in/code/localstoragedb
814 stars 128 forks source link

Setting the column names in queryAll () #56

Closed danieldacruzferreira closed 8 years ago

danieldacruzferreira commented 9 years ago

Is there a way to define the name of the columns that are returned in queryAll ()?

LIke this: db.queryAll("table_name", {'columns': ['Colum A', 'Colum B', 'Colum C']});

knadh commented 9 years ago

@danieldacruzferreira It is not possible to specify which columns are returned.

danieldacruzferreira commented 9 years ago

Ok, Thank You @knadh