PHP » PYTHON |
login |
register |
about
|
PYTHON SQLite3::createFunction
is this article helpful?
|
Python replacement for PHP's SQLite3::createFunction
[
edit
| history
]
db.create_function(name, argument_count, callback) SQLite3::createFunction(PHP 5 >= 5.3.0) SQLite3::createFunction — Registers a PHP function for use as an SQL scalar function DescriptionRegisters a PHP function or user-defined function for use as an SQL scalar function for use within SQL statements. Parameters
Return ValuesReturns TRUE upon successful creation of the function, FALSE on failure. Examples
Example #1 SQLite3::createFunction() example
<?php The above example will output something similar to: string(32) "098f6bcd4621d373cade4e832627b4f6"
|
more
Recently updated
more
Most requested
more
Last requests
|