the-forest/client/node_modules/@libsql/hrana-client/lib-esm/describe.js
2024-09-17 20:35:18 -04:00

9 lines
232 B
JavaScript

export function describeResultFromProto(result) {
return {
paramNames: result.params.map((p) => p.name),
columns: result.cols,
isExplain: result.isExplain,
isReadonly: result.isReadonly,
};
}