docs(providers): add capabilities, error handling, and usage examples to libsql doc - #946
Conversation
… to libsql doc (closes libredb#862)
|
Approving this. I checked every claim in the new sections against the provider source rather than reading them for shape, and they hold: the capability table matches getCapabilities() down to explainFormat and the two allowlisted maintenance operations, the four label overrides are quoted exactly, and the error table matches mapLibSQLError() including the 400/401/403 set and the status 0 branch that carries host and port. The usage examples use real signatures, and describeObjects() really does answer { details }. Section numbering now lands where #862 asked, on mongodb.md's shape, and nothing links to the anchors that moved, so the renumbering is safe. One trivial note, no change needed: bun run format runs biome, which does not touch markdown, so that checkbox is a no-op for this file. Worth saying plainly: this is your third PR here and the first to land, after #935 was closed on assignment grounds and #945 stood down for this one. Thank you for staying with it, and for picking the doc up at the standard rather than at the minimum. |
Description
Brings \docs/providers/libsql.md\ in line with the standard provider doc structure (matching sibling docs such as \docs/providers/mongodb.md\ and \docs/providers/sqlite.md) by adding the missing Capabilities & labels, Error handling, and Usage examples sections, with verified content reflecting the actual libSQL provider implementation.
Type of Change
Related Issue
Closes #862
Changes Made
eindexGlobal*).
Testing
Test Environment
Checklist