Skip to content

🌀 function that returns Rx observable from MySQL query

Notifications You must be signed in to change notification settings

Alex0007/mysql-query-observable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mysql-query-observable

Creates Rx observable from query

npm version wercker status

Example

$ npm i -S mysql-query-observable
import createObservableFromQuery from 'mysql-query-observable'

createObservableFromQuery(`
  SELECT * FROM item ORDER BY id ASC LIMIT 2
`)
.toArray()
.subscribe(data => console.log(data)) // [{item1}, {item2}]

About

🌀 function that returns Rx observable from MySQL query

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published