Skip to content

πŸš€πŸ˜„ [0.1] NocoDB library Version!!

Compare
Choose a tag to compare
@elchicodepython elchicodepython released this 20 Sep 21:45
· 28 commits to master since this release

General changes

Library system changed to semantic versioning.

New Features

NocoDB Project Creation

  • Example with default database
project_body = {"title": "My new project"}
project = client.project_create(body=project_body)
  • Example with Postgresql database
project_body = {
    "title": "MyProject",
    "bases": [
        {
            "type": "pg",
            "config": {
                "client": "pg",
                "connection": {
                    "host": "localhost",
                    "port": "5432",
                    "user": "postgres",
                    "password": "postgres",
                    "database": "postgres"
                },
                "searchPath": [
                    "public"
                ]
            },
            "inflection_column": "camelize",
            "inflection_table": "camelize"
        }
    ],
    "external": True
}
project = client.project_create(body=project_body)

Thanks to @davert0 for this feature!