Project

General

Profile

« Previous | Next » 

Revision 9432

lib/sh/db.sh: added truncate()

View differences:

lib/sh/db.sh
34 34
fi # load new aliases
35 35
if self_being_included; then
36 36

  
37
truncate() # usage: table=... truncate|*sql_ANSI
38
{
39
	log++; echo_func; kw_params table; : "${table?}"; mk_table_esc
40
	echo "TRUNCATE $table_esc"
41
}
37 42

  
43

  
38 44
### MySQL
39 45

  
40 46
alias set_database=\

Also available in: Unified diff