带有 JSON1 的 Ubuntu 16.04 上的 SQLite [英] SQLite on Ubuntu 16.04 with JSON1

查看:25
本文介绍了带有 JSON1 的 Ubuntu 16.04 上的 SQLite的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有使用 JSON1 扩展编译的适用于 Linux/Ubuntu 的 SQLite 发行版.SQLite JSON1 页面上的说明仅解释了如何在编译后加载扩展 - 我想避免离题.

Is there a SQLite distribution for Linux/Ubuntu that is compiled with the JSON1 extension. The instructions on the SQLite JSON1 page only explain how to load the extension after compiling it - a digression I would like to avoid.

推荐答案

Ubuntu Xenial 带有 SQLite 3.11.0-1ubuntu1,它是用 JSON1 扩展编译的.

Ubuntu Xenial comes with SQLite 3.11.0-1ubuntu1 which is compiled with JSON1 extension.

$ docker run --rm -it ubuntu:xenial
# apt-get update && apt-get install --no-install-recommends -y sqlite3
# echo "PRAGMA compile_options;" | sqlite3 | grep JSON1
ENABLE_JSON1

这篇关于带有 JSON1 的 Ubuntu 16.04 上的 SQLite的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆