-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
smf_db_insert_sql
Description
Returns the appropriate "INSERT" statement(s) to insert the current data for this table.
Syntax
string smf_db_insert_sql (string $tableName)
Parameter $tableName
Expected type: String
Description: The name of the table
Return value
Expected type: Escaped String
Description: Formatted SQL string containing one or more INSERT statements for this table
Notes
- Used by SMF when creating a database dump.
- Returns a formatted string of one or more INSERT statements
- Uses \r\n (carriage return, line break) and \t (tab) to format the statements
- Adds a new INSERT statement after every 250 rows
- Escapes things as needed
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.121 seconds with 13 queries.
- Forum Search