table_column_metadata method
int
table_column_metadata(
- PtrSqlite3 db,
- String? zDbName,
- String zTableName,
- String? zColumnName,
- PtrPtrUtf8 pzDataType,
- PtrPtrUtf8 pzCollSeq,
- PtrInt32 pNotNull,
- PtrInt32 pPrimaryKey,
- PtrInt32 pAutoinc,
inherited
Implementation
int table_column_metadata(
PtrSqlite3 db,
String? zDbName,
String zTableName,
String? zColumnName,
PtrPtrUtf8 pzDataType,
PtrPtrUtf8 pzCollSeq,
PtrInt32 pNotNull,
PtrInt32 pPrimaryKey,
PtrInt32 pAutoinc) {
final zDbNameMeta = zDbName?._metaNativeUtf8();
final ptrZDbName = zDbNameMeta?.ptr ?? ffi.nullptr;
final zTableNameMeta = zTableName._metaNativeUtf8();
final ptrZTableName = zTableNameMeta.ptr;
final zColumnNameMeta = zColumnName?._metaNativeUtf8();
final ptrZColumnName = zColumnNameMeta?.ptr ?? ffi.nullptr;
try {
return _h_sqlite3_table_column_metadata(db, ptrZDbName, ptrZTableName, ptrZColumnName,
pzDataType, pzCollSeq, pNotNull, pPrimaryKey, pAutoinc);
} finally {
pkgffi.malloc.free(ptrZDbName);
pkgffi.malloc.free(ptrZTableName);
pkgffi.malloc.free(ptrZColumnName);
}
}