4 ms·
Everything was great here until the post suggested...let's have two formats? All the examples mentioned (one of which is my own) use a strict RFC-1738 style,
by zzzeek 13y ago
Everything was great here until the post suggested...let's have two formats? All the examples mentioned (one of which is my own) use a strict RFC-1738 style, and the "//" is required, including for filesystem paths. RFC-1738 already provides the spec and as all the linked examples illustrate, it's all we need. Why the second format omitting the so-called "authority part"?
edit: wow rfc1738 is like two rfcs ago, we're up to rfc3986 now. rock!
- sp332 13y agoFor sqlite, there isn't really a host name. It's just a file path. What would that look like if you could only use the first format?
- PeterWhittaker 13y agoWould it not be file:///path as per RFC 1738?
- sp332 13y agoI guess that could work. file:///path?foreign_keys=ON;journal_mode=WAL
- justtheory 13y agoI would be okay with having just one one, though in principal I don't see much difference.