Welcome To Snipplr


Everyone's Recent Rails Snippets Tagged sql



« Prev 1 Next »
0 1280 posted 14 years ago by batamire
0 1052 posted 15 years ago by almazom
count(*args) Count operates using three different approaches. Count all: By not passing any parameters to count, it will return a count of all the rows for the model. Count using column: By passing a column name to count, it will return a count of...
1 1106 posted 16 years ago by deschism
« Prev 1 Next »