[Lazarus] Support for SQLite virtual table?
Krzysztof
dibo20 at wp.pl
Tue Dec 18 10:03:01 CET 2012
Hi,
Reffering to this article:
http://www.sqlite.org/vtab.html
... I'm trying to create virtual table. But before call standard CREATE
VIRTUAL TABLE, some module must be created first. FPC has
method sqlite3_create_module() but it return 0:
var
m: sqlite3_module;
c: cint;
begin
FillByte(m, SizeOf(m),0);
c := sqlite3_create_module(dsContacts.SqliteHandle, 'test_module', @m,
nil);
SqliteHandle is assigned. But type sqlite3_module looks strange. It is
dummy, without fields. Can I somehow create dummy module with pure SQL
syntax? I don't need stuff to which the module is used.
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20121218/b980bf6d/attachment-0002.html>
More information about the Lazarus
mailing list