I have just learned how to use SQLite databases for local storage in webkit web browsers (like Google Chrome or Apple Safari) Using the Javascript API, for example application
However, I know that there is a function of SQLite called sqlite_create_function () which lets you add a custom function to your instance of SQLite on the corn Which can then be used within SQL queries C is described in the ceremony.
I also know that according to Ruby's description you can make a call equal to this API.
Question: Can anyone show me how to do this in JavaScript - that is, write a custom function in javascript which can be forced on the runtime to be called by the SQLite engine, and all WebKit Browser?
From the web surfing it seems that Apple is the only company that is giving any kind of documents to WebKit It's on the SQLite interface through it.
In this document they show how to use Javascript APIs & amp; Run around databases, query queries, and manipulate results. However, there is no documentation on the JavaScript equivalent of sqlite3_create_function. However, I sent a question about this and hoped to get an answer.