Project

General

Profile

« Previous | Next » 

Revision 11579

lib/sh/db.sh: mk_select(): usage: documented that this also takes a $limit/$n param

View differences:

lib/sh/db.sh
47 47
{ echo_func; cmd=esc_name foreach_arg; delim=', ' join "$@"; }
48 48

  
49 49
mk_select() # usage: {query=... | table=... [cols=...] [filter=...] \
50
# [order_by=...]} mk_select
50
# [order_by=...]} [limit|n=#] mk_select
51 51
{
52 52
	echo_func; kw_params query table cols filter; mk_table_esc
53 53
	if is_array cols    ; then cols="$(    cols2list "${cols[@]}"    )"; fi

Also available in: Unified diff