Skip to content

attribyte/wpdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Attribyte WPDB

A Java library that provides read/write access to WordPress ™ databases.

Features

  • Create, select, update and delete users.
  • Optional user cache.
  • Insert, update and delete posts.
  • Posts may be inserted with a known ID or auto-generated.
  • Select posts by id.
  • Select posts by author.
  • Select posts by "slug."
  • Select children for posts.
  • Select posts sorted by publish time, last modified (inefficient out-of-box), id.
  • Select posts associated with one or more taxonomy terms.
  • Select modified posts without skip due to long sequences with identical modified times.
  • Page posts with start, limit and timestamp constraints.
  • Set and delete post children, e.g. attachments.
  • Set and delete post metadata.
  • Set and delete terms, taxonomy terms and their post associations.
  • Set and delete term metadata.
  • Optional taxonomy terms cache.
  • Select options e.g. site configuration.
  • Select public blogs.
  • Multiple site support.
  • Fully instrumented with Dropwizard Metrics.
  • JUnit tests.

Missing Features

  • Comments

Requirements

Build

Build with Ant and Ivy

  • Build: ant dist
  • Build docs: ant javadoc
  • Build and retrieve all dependencies: ant full-dist
  • Build and run tests: ant -Ddb=[database] -Ddbuser=[user] -Ddbpass=[password] -Ddbhost=[host] test Do Not Run Against a Production Database

License

© 2016, Attribyte, LLC

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

A Java library that provides read/write access to WordPress ™ databases.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages